1
0
forked from GitHub/gf-core

gfc command now looks for gf executable in the same directory

This commit is contained in:
bringert
2008-08-12 14:11:17 +00:00
parent 9829a67c70
commit d5a7595e7f

View File

@@ -13,6 +13,11 @@ GF_DATA_DIR="@datadir@/GF-@PACKAGE_VERSION@"
GFBIN="$GF_BIN_DIR/gf"
if [ ! -x "${GFBIN}" ]; then
GF_BIN_DIR=`dirname $0`
GFBIN="$GF_BIN_DIR/gf"
fi
if [ ! -x "${GFBIN}" ]; then
GFBIN=`which gf`
fi