| #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 -x $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 -i @kernel_fi@ $path1 $path2 exboot.fs startup.fs "$@" |
| else |
else |
| @PREFORTH@ "$@" |
@PREFORTH@ "$@" |