Differences From Artifact [daa9b2e9bc]:
- Executable file kitsh/build.sh — part of check-in [9315fecb01] at 2010-09-26 04:37:13 on branch trunk — Added kitsh code (user: rkeene, size: 1299) [annotate] [blame] [check-ins using]
To Artifact [f1a428a7f8]:
- Executable file
kitsh/build.sh
— part of check-in
[74dad5670f]
at
2010-09-26 04:37:16
on branch trunk
— Updated to use existing Tclkit if found for final step
Updated to build all pieces needed for a tclkit (user: rkeene, size: 1463) [annotate] [blame] [check-ins using]
40 40 ## Rename the "vfs" package directory to what "boot.tcl" expects 41 41 mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs' 42 42 43 43 ## Install "boot.tcl" 44 44 cp 'boot.tcl' 'starpack.vfs/' 45 45 46 46 # Intall VFS onto kit 47 - ## Copy installed data for packages 48 - mkdir "installed-pkgs" 49 - cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/' 47 + if echo 'exit 0' | tclkit >/dev/null 2>/dev/null; then 48 + ## Install using existing Tclkit 49 + tclkit installvfs.tcl kit starpack.vfs 50 + else 51 + ## Bootstrap 52 + ### Copy installed data for packages 53 + mkdir "installed-pkgs" 54 + cp -r "${OTHERPKGSDIR}"/*/inst/* 'installed-pkgs/' 50 55 51 - ## Call installer 52 - ${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs 56 + ### Call installer 57 + ${TCLCONFIGDIR}/tclsh installvfs.tcl kit starpack.vfs 58 + fi 53 59 54 60 ) || exit 1 55 61 56 62 exit 0