diff options
| author | bringert <bringert@cs.chalmers.se> | 2008-08-12 14:11:17 +0000 |
|---|---|---|
| committer | bringert <bringert@cs.chalmers.se> | 2008-08-12 14:11:17 +0000 |
| commit | ff39552e414976c8bed8852cac682dfac880b5b9 (patch) | |
| tree | 26326b05724b1a1d1b30aa3ef0e885ef8aff3929 /src/gfc.in | |
| parent | a9893f45724299e6cc773bbb2fa2cf315fe85206 (diff) | |
gfc command now looks for gf executable in the same directory
Diffstat (limited to 'src/gfc.in')
| -rw-r--r-- | src/gfc.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gfc.in b/src/gfc.in index 9edd00ff0..bd08db0b8 100644 --- a/src/gfc.in +++ b/src/gfc.in @@ -14,6 +14,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 |
