Diff

Differences From Artifact [6cd5958958]:

To Artifact [75bca485ac]:


    46     46   	## Rename the "vfs" package directory to what "boot.tcl" expects
    47     47   	mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
    48     48   
    49     49   	## Install "boot.tcl"
    50     50   	cp 'boot.tcl' 'starpack.vfs/'
    51     51   
    52     52   	# Intall VFS onto kit
    53         -	if echo 'exit 0' | tclkit >/dev/null 2>/dev/null; then
           53  +	## Determine if we have a Tclkit to do this work
           54  +	TCLKIT="${TCLKIT:-tclkit}"
           55  +	if echo 'exit 0' | "${TCLKIT}" >/dev/null 2>/dev/null; then
    54     56   		## Install using existing Tclkit
    55     57   		### Call installer
    56         -		tclkit installvfs.tcl kit starpack.vfs
           58  +		"${TCLKIT}" installvfs.tcl kit starpack.vfs
    57     59   	else
    58     60   		## Bootstrap (cannot cross-compile)
    59     61   		### Call installer
    60     62   		cp kit runkit
    61     63   		echo 'set argv [list kit starpack.vfs]' > setup.tcl
    62     64   		echo 'source installvfs.tcl' >> setup.tcl
    63     65   		echo | ./runkit
    64     66   	fi
    65     67   
    66     68   	exit 0
    67     69   ) || exit 1
    68     70   
    69     71   exit 0