Files
gf-core/src-3.0/gfc.in

26 lines
381 B
Bash

#!/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 "$@"