version 1.2, 2008/07/15 16:11:49
|
version 1.5, 2008/10/15 21:31:56
|
Line 18
|
Line 18
|
#along with this program. If not, see http://www.gnu.org/licenses/. |
#along with this program. If not, see http://www.gnu.org/licenses/. |
|
|
test -z "$ENGINE" && ENGINE=./gforth |
test -z "$ENGINE" && ENGINE=./gforth |
if [ -x $ENGINE ] |
if test -f $ENGINE -a -f @kernel_fi@; then |
then |
|
path1="$1" |
path1="$1" |
path2="$2" |
path2="$2" |
shift; shift |
shift; shift |
set -x -v |
# set -x -v |
$ENGINE -i @kernel_fi@ $path1 $path2 exboot.fs startup.fs "$@" |
$ENGINE --die-on-signal -i @kernel_fi@ $path1 $path2 exboot.fs startup.fs "$@" |
else |
else |
@PREFORTH@ "$@" |
@PREFORTH@ "$@" |
fi |
fi |