Differences From Artifact [1fdbf70bfc]:
- Executable file mk4tcl/build.sh — part of check-in [4b7dc4b29d] at 2010-09-26 04:39:03 on branch trunk — Updated to no longer quote references to MAKE (user: rkeene, size: 1536) [annotate] [blame] [check-ins using]
To Artifact [2ffb8472f5]:
- Executable file
mk4tcl/build.sh
— part of check-in
[023de4a116]
at
2010-09-26 04:39:15
on branch trunk
— Updated to check for 'buildsrc' directory before untarring. If found it is used. (Untested)
Updated to download sources to a temporary file and only rename on success (user: rkeene, size: 1662) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
28 29 30 31 32 33 34 |
source "${TCLCONFIGDIR}/tclConfig.sh"
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
mkdir 'src' >/dev/null 2>/dev/null
| > | > > | > > > | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
source "${TCLCONFIGDIR}/tclConfig.sh"
fi
export TCL_VERSION
if [ ! -f "${SRC}" ]; then
mkdir 'src' >/dev/null 2>/dev/null
rm -f "${SRC}.tmp"
wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
mv "${SRC}.tmp" "${SRC}"
fi
(
cd 'build' || exit 1
if [ ! -d '../buildsrc' ]; then
gzip -dc "../${SRC}" | tar -xf -
else
cp -rp ../buildsrc/* './'
fi
# Apply required patches
cd "${BUILDDIR}" || exit 1
for patch in "${PATCHDIR}/all"/metakit-${MK4VERS}-*.diff "${PATCHDIR}/${TCL_VERSION}"/metakit-${MK4VERS}-*.diff; do
if [ ! -f "${patch}" ]; then
continue
fi
|
| ︙ | ︙ |