Differences From Artifact [a9fcedbcad]:
- Executable file
kitsh/build.sh
— part of check-in
[49f1d0e042]
at
2010-09-26 04:39:35
on branch trunk
— Fixed 64-bit Tcl 8.5.x compilation on Solaris
Fixed bootstrap build issue on Tcl 8.5.x
Minor documentation update (user: rkeene, size: 1738) [annotate] [blame] [check-ins using]
To Artifact [f495d0968a]:
- Executable file
kitsh/build.sh
— part of check-in
[2203d001cd]
at
2010-09-26 04:39:48
on branch trunk
— Enabled Mk4vfs compression
Added appropriate licensing information.
Updated README (user: rkeene, size: 1875) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
KITSHVERS="0.0"
BUILDDIR="$(pwd)/build/kitsh-${KITSHVERS}"
OUTDIR="$(pwd)/out"
INSTDIR="$(pwd)/inst"
OTHERPKGSDIR="$(pwd)/../"
export KITSHVERS BUILDDIR OUTDIR INSTDIR OTHERPKGSDIR
rm -rf 'build' 'out' 'inst'
mkdir 'out' 'inst' || exit 1
(
cp -r 'buildsrc' 'build'
| > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
KITSHVERS="0.0"
BUILDDIR="$(pwd)/build/kitsh-${KITSHVERS}"
OUTDIR="$(pwd)/out"
INSTDIR="$(pwd)/inst"
OTHERPKGSDIR="$(pwd)/../"
export KITSHVERS BUILDDIR OUTDIR INSTDIR OTHERPKGSDIR
if [ -z "${ENABLECOMPRESSION}" ]; then
ENABLECOMPRESSION="1"
fi
export ENABLECOMPRESSION
rm -rf 'build' 'out' 'inst'
mkdir 'out' 'inst' || exit 1
(
cp -r 'buildsrc' 'build'
|
| ︙ | ︙ | |||
51 52 53 54 55 56 57 |
# Intall VFS onto kit
## Determine if we have a Tclkit to do this work
TCLKIT="${TCLKIT:-tclkit}"
if echo 'exit 0' | "${TCLKIT}" >/dev/null 2>/dev/null; then
## Install using existing Tclkit
### Call installer
| | | | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# Intall VFS onto kit
## Determine if we have a Tclkit to do this work
TCLKIT="${TCLKIT:-tclkit}"
if echo 'exit 0' | "${TCLKIT}" >/dev/null 2>/dev/null; then
## Install using existing Tclkit
### Call installer
"${TCLKIT}" installvfs.tcl kit starpack.vfs "${ENABLECOMPRESSION}"
else
## Bootstrap (cannot cross-compile)
### Call installer
cp kit runkit
echo "set argv [list kit starpack.vfs {${ENABLECOMPRESSION}}]" > setup.tcl
echo 'if {[catch { clock seconds }]} { proc clock args { return 0 } }' >> setup.tcl
echo 'source installvfs.tcl' >> setup.tcl
echo | ./runkit
fi
exit 0
) || exit 1
exit 0
|