forked from GitHub/gf-core
gfc command now looks for gf executable in the same directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user