Differences From Artifact [12528bdfc5]:
- Executable file
tk/build.sh
— part of check-in
[0527703474]
at
2011-05-28 06:38:41
on branch trunk
— Updated to support finding TCLSH_NATIVE by the root kitcreator script and using that in most places where a native Tcl interpreter is needed
Updated to find date of Fossil checkin when a fossil tag or ID is specified and use that date for checkouts of other projects (user: rkeene, size: 6194) [annotate] [blame] [check-ins using] [more...]
To Artifact [58316dd2e7]:
- Executable file tk/build.sh — part of check-in [361d408d67] at 2011-07-05 17:26:00 on branch trunk — Updated to not attempt to download source if "buildsrc" directory is being used for Tcl/Tk (user: rkeene, size: 6394) [annotate] [blame] [check-ins using]
40
41
42
43
44
45
46
47
48
49
50
51
52
53
..
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
use_fossil='0'
if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then
use_fossil='1'
elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
use_fossil='1'
fi
if [ "${use_fossil}" = "1" ]; then
(
FOSSILDATE="$(cat "${TCLFOSSILDATE}" 2>/dev/null)"
cd src || exit 1
................................................................................
tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}"
cd ..
rm -rf "${workdir}"
)
else
rm -f "${SRC}.tmp"
wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
mv "${SRC}.tmp" "${SRC}"
fi
fi
(
cd 'build' || exit 1
if [ ! -d '../buildsrc' ]; then
|
>
>
>
>
>
>
>
|
|
|
>
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
..
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
use_fossil='0' if echo "${TCLVERS}" | grep '^cvs_' >/dev/null; then use_fossil='1' elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then use_fossil='1' fi if [ -d 'buildsrc' ]; then # Override here to avoid downloading tarball from Fossil if we # have a particular tree already available. use_fossil='0' fi if [ "${use_fossil}" = "1" ]; then ( FOSSILDATE="$(cat "${TCLFOSSILDATE}" 2>/dev/null)" cd src || exit 1 ................................................................................ tar -cf - "tk${TCLVERS}" | gzip -c > "../../${SRC}" cd .. rm -rf "${workdir}" ) else if [ ! -d 'buildsrc' ]; then rm -f "${SRC}.tmp" wget -O "${SRC}.tmp" "${SRCURL}" || exit 1 mv "${SRC}.tmp" "${SRC}" fi fi fi ( cd 'build' || exit 1 if [ ! -d '../buildsrc' ]; then |