diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-05-20 11:47:44 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-05-20 11:47:44 +0000 |
| commit | 31bf84122b21efb444aa8d055472e166ffb90783 (patch) | |
| tree | 1f051909336f1534346bcccde8dda59beab02f64 /src-2.9/gfc.in | |
| parent | 74f048dcf41de3540778de54dfa7541fa5b39c46 (diff) | |
moved all old source code to src-2.9 ; src will be for GF 3 development
Diffstat (limited to 'src-2.9/gfc.in')
| -rw-r--r-- | src-2.9/gfc.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src-2.9/gfc.in b/src-2.9/gfc.in new file mode 100644 index 000000000..05addb2cb --- /dev/null +++ b/src-2.9/gfc.in @@ -0,0 +1,25 @@ +#!/bin/sh + +prefix="@prefix@" + +case "@host@" in + *-cygwin) + prefix=`cygpath -w "$prefix"`;; +esac + +exec_prefix="@exec_prefix@" +GF_BIN_DIR="@bindir@" +GF_DATA_DIR="@datadir@/GF-@PACKAGE_VERSION@" + +GFBIN="$GF_BIN_DIR/gf3" + +if [ ! -x "${GFBIN}" ]; then + GFBIN=`which gf3` +fi + +if [ ! -x "${GFBIN}" ]; then + echo "gf3 not found." + exit 1 +fi + +exec $GFBIN --batch "$@" |
