Diff

Differences From Artifact [cdf646bab2]:

To Artifact [817f12a8b2]:


20
21
22
23
24
25
26














27

28
29
30
31
32
33
34

rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1

if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null















	wget -O "${SRC}" "${SRCURL}" || exit 1

fi

(
	cd 'build' || exit 1

	gzip -dc "../${SRC}" | tar -xf -








>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

rm -rf 'build' 'out' 'inst'
mkdir 'build' 'out' 'inst' || exit 1

if [ ! -f "${SRC}" ]; then
	mkdir 'src' >/dev/null 2>/dev/null

	if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
		CVSTAG=$(echo "${TCLVERS}" | sed 's/^cvs_//g')
		export CVSTAG

		(       
			cd src || exit 1

			cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tktoolkit co -r "${CVSTAG}" -P tk

			mv tk "tk${TCLVERS}"

			tar -cf - "tk${TCLVERS}" | gzip -c > "../${SRC}"
		)
	else    
		wget -O "${SRC}" "${SRCURL}" || exit 1
	fi
fi

(
	cd 'build' || exit 1

	gzip -dc "../${SRC}" | tar -xf -