Diff

Differences From Artifact [64c5520e3d]:

To Artifact [54785bdfbe]:


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58



59
60
61
62
63
64
65
		fi
		export CVSTAG

		(       
			cd src || exit 1

			rm -f "tmp-tk.zip"
			wget -O "tmp-tk.zip" "http://tcltk.oc9.org/fossils/tk/zip/unnamed-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tk.zip"
			unzip "tmp-tk.zip"
			rm -f "tmp-tk.zip"

			rm -rf "tk${TCLVERS}"
			mv "unnamed-${CVSTAG}" "tk${TCLVERS}"
                        
			if [ -d "tk${TCLVERS}" ]; then
				find "tk${TCLVERS}" -name configure -type f | xargs chmod +x
                                
				tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
			fi



		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"
	fi
fi







|




|






>
>
>







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
		fi
		export CVSTAG

		(       
			cd src || exit 1

			rm -f "tmp-tk.zip"
			wget -O "tmp-tk.zip" "http://rkeene.org/projects/tcl/tk.fossil/zip/tk-${CVSTAG}.zip?uuid=${CVSTAG}" || rm -f "tmp-tk.zip"
			unzip "tmp-tk.zip"
			rm -f "tmp-tk.zip"

			rm -rf "tk${TCLVERS}"
			mv "tk-${CVSTAG}" "tk${TCLVERS}"
                        
			if [ -d "tk${TCLVERS}" ]; then
				find "tk${TCLVERS}" -name configure -type f | xargs chmod +x
                                
				tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
			fi

			rm -f "tmp-tk.zip"
			rm -rf "tk${TCLVERS}"
		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"
	fi
fi