File:  [gforth] / gforth / preforth.in
Revision 1.1: download - view: text, annotated - select for diffs
Fri Apr 25 22:17:17 2008 UTC (11 years, 4 months ago) by anton
Branches: MAIN
CVS tags: HEAD
Bugfix: make and make dist don't need pre-installed Gforth
FORCE_REG_UNNECESSARY now defined automatically and used better
documentation bugfix

#!/bin/sh

test -z "$ENGINE" && ENGINE=./gforth
if [ -x $ENGINE ]
then 
  path1="$1"
  path2="$2"
  shift; shift
  set -x -v
  $ENGINE -i @kernel_fi@ $path1 $path2 exboot.fs startup.fs "$@"
else
  @PREFORTH@ "$@"
fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>