Differences From Artifact [f8ef582bfc]:
- Executable file
tcl/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: 6818) [annotate] [blame] [check-ins using] [more...]
To Artifact [8a67bfa303]:
- Executable file tcl/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: 7018) [annotate] [blame] [check-ins using]
36
37
38
39
40
41
42
43
44
45
46
47
48
49
..
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
fi
elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then
use_fossil='1'
FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g')
fi
export FOSSILTAG
if [ "${use_fossil}" = "1" ]; then
(
cd src || exit 1
workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
rm -rf "${workdir}"
................................................................................
echo "${FOSSILDATE}" > "../../${SRC}.date"
cd ..
rm -rf "${workdir}"
) || exit 1
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
|
>
>
>
>
>
>
>
|
|
|
>
|
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
..
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
fi elif echo "${TCLVERS}" | grep '^fossil_' >/dev/null; then use_fossil='1' FOSSILTAG=$(echo "${TCLVERS}" | sed 's/^fossil_//g') fi export FOSSILTAG 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 ( cd src || exit 1 workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}" rm -rf "${workdir}" ................................................................................ echo "${FOSSILDATE}" > "../../${SRC}.date" cd .. rm -rf "${workdir}" ) || exit 1 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 |