Diff

Differences From Artifact [26f8c086a9]:

To Artifact [1a666efbfb]:


    20     20   
    21     21   rm -rf 'build' 'out' 'inst'
    22     22   mkdir 'build' 'out' 'inst' || exit 1
    23     23   
    24     24   if [ ! -f "${SRC}" ]; then
    25     25   	mkdir 'src' >/dev/null 2>/dev/null
    26     26   
    27         -	wget -O "${SRC}" "${SRCURL}" || exit 1
           27  +	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
           28  +		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
           29  +		export CVSTAG
           30  +
           31  +		(
           32  +			cd src || exit 1
           33  +
           34  +			cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -r "${CVSTAG}" -P tcl
           35  +
           36  +			mv tcl "tcl${TCLVERS}"
           37  +
           38  +			tar -cf - "tcl${TCLVERS}" | gzip -c > "../${SRC}"
           39  +		)
           40  +	else
           41  +		wget -O "${SRC}" "${SRCURL}" || exit 1
           42  +	fi
    28     43   fi
    29     44   
    30     45   (
    31     46   	cd 'build' || exit 1
    32     47   
    33     48   	gzip -dc "../${SRC}" | tar -xf -
    34     49