Diff

Differences From Artifact [9ac6c7313f]:

To Artifact [ec7be57b0b]:


    97     97   	# Intall VFS onto kit
    98     98   	## Determine if we have a Tclkit to do this work
    99     99   	TCLKIT="${TCLKIT:-tclkit}"
   100    100   	if echo 'exit 0' | "${TCLKIT}" >/dev/null 2>/dev/null; then
   101    101   		## Install using existing Tclkit
   102    102   		### Call installer
   103    103   		echo "Running: \"${TCLKIT}\" installvfs.tcl kit starpack.vfs \"${ENABLECOMPRESSION}\""
   104         -		"${TCLKIT}" installvfs.tcl kit starpack.vfs "${ENABLECOMPRESSION}"
          104  +		"${TCLKIT}" installvfs.tcl kit starpack.vfs "${ENABLECOMPRESSION}" || exit 1
   105    105   	else
   106    106   		## Bootstrap (cannot cross-compile)
   107    107   		### Call installer
   108    108   		cp kit runkit
   109    109   		echo "set argv [list kit starpack.vfs {${ENABLECOMPRESSION}}]" > setup.tcl
   110    110   		echo 'if {[catch { clock seconds }]} { proc clock args { return 0 } }' >> setup.tcl
   111    111   		echo 'source installvfs.tcl' >> setup.tcl
   112    112   
   113    113   		echo 'Running: echo | ./runkit'
   114         -		echo | ./runkit
          114  +		echo | ./runkit || exit 1
   115    115   	fi
   116    116   
   117    117   	exit 0
   118    118   ) || exit 1
   119    119   
   120    120   exit 0