Diff

Differences From Artifact [b819ea7b3f]:

To Artifact [e21d739f84]:


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
			CVSTAG="trunk"
		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-${CVSTAG}"
			rm -rf "tk${TCLVERS}"
		)
	else
		rm -f "${SRC}.tmp"
		wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
		mv "${SRC}.tmp" "${SRC}"







|
>
|
|
|
>
>
>
>




<
<
<
|
<

|







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
69
			CVSTAG="trunk"
		fi
		export CVSTAG

		(       
			cd src || exit 1

			rm -f "tmp-tk.tar.gz"
			wget -O "tmp-tk.tar.gz" "http://core.tcl.tk/tk/tarball/tk-${CVSTAG}.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tk.tar.gz'

			gzip -dc "tmp-tk.tar.gz" | tar -xf -
			rm -f "tmp-tk.tar.gz"
			if [ -d "tk-${CVSTAG}.tar" ]; then
				rm -rf "tk-${CVSTAG}"
				mv "tk-${CVSTAG}.tar" "tk-${CVSTAG}"
			fi

			rm -rf "tk${TCLVERS}"
			mv "tk-${CVSTAG}" "tk${TCLVERS}"
                        



			tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"


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