Diff

Differences From Artifact [1fdbf70bfc]:

To Artifact [2ffb8472f5]:


    28     28           source "${TCLCONFIGDIR}/tclConfig.sh"
    29     29   fi
    30     30   export TCL_VERSION
    31     31   
    32     32   if [ ! -f "${SRC}" ]; then
    33     33   	mkdir 'src' >/dev/null 2>/dev/null
    34     34   
    35         -	wget -O "${SRC}" "${SRCURL}" || exit 1
           35  +	rm -f "${SRC}.tmp"
           36  +	wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
           37  +	mv "${SRC}.tmp" "${SRC}"
    36     38   fi
    37     39   
    38     40   (
    39     41   	cd 'build' || exit 1
    40     42   
    41         -	gzip -dc "../${SRC}" | tar -xf -
           43  +	if [ ! -d '../buildsrc' ]; then
           44  +		gzip -dc "../${SRC}" | tar -xf -
           45  +	else    
           46  +		cp -rp ../buildsrc/* './'
           47  +	fi
    42     48   
    43     49   	# Apply required patches
    44     50   	cd "${BUILDDIR}" || exit 1
    45     51   	for patch in "${PATCHDIR}/all"/metakit-${MK4VERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/metakit-${MK4VERS}-*.diff; do
    46     52   		if [ ! -f "${patch}" ]; then
    47     53   			continue
    48     54   		fi