Diff

Differences From Artifact [b819ea7b3f]:

To Artifact [e21d739f84]:


    40     40   			CVSTAG="trunk"
    41     41   		fi
    42     42   		export CVSTAG
    43     43   
    44     44   		(       
    45     45   			cd src || exit 1
    46     46   
    47         -			rm -f "tmp-tk.zip"
    48         -			wget -O "tmp-tk.zip" "http://rkeene.org/projects/tcl/tk.fossil/zip/tk-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tk.zip"
    49         -			unzip "tmp-tk.zip"
    50         -			rm -f "tmp-tk.zip"
           47  +			rm -f "tmp-tk.tar.gz"
           48  +			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tk.tar.gz'
           49  +
           50  +			gzip -dc "tmp-tk.tar.gz" | tar -xf -
           51  +			rm -f "tmp-tk.tar.gz"
           52  +			if [ -d "tk-${CVSTAG}.tar" ]; then
           53  +				rm -rf "tk-${CVSTAG}"
           54  +				mv "tk-${CVSTAG}.tar" "tk-${CVSTAG}"
           55  +			fi
    51     56   
    52     57   			rm -rf "tk${TCLVERS}"
    53     58   			mv "tk-${CVSTAG}" "tk${TCLVERS}"
    54     59                           
    55         -			if [ -d "tk${TCLVERS}" ]; then
    56         -				find "tk${TCLVERS}" -name configure -type f | xargs chmod +x
    57         -                                
    58         -				tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
    59         -			fi
           60  +			tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
    60     61   
    61         -			rm -f "tmp-tk.zip"
           62  +			rm -f "tmp-tk.tar.gz"
    62     63   			rm -rf "tk-${CVSTAG}"
    63     64   			rm -rf "tk${TCLVERS}"
    64     65   		)
    65     66   	else
    66     67   		rm -f "${SRC}.tmp"
    67     68   		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
    68     69   		mv "${SRC}.tmp" "${SRC}"