aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testIGNF
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2019-02-24 08:02:45 -0500
committerKristian Evers <kristianevers@gmail.com>2019-02-24 14:02:45 +0100
commit140c64713b451db3456287e338e1ce297a52d047 (patch)
tree934a622c2eea6ef6fb5a53ecac20b96b1f2228b7 /test/cli/testIGNF
parent36a43f88aa2a136ddb1b901cff469e6e0d9e75d7 (diff)
downloadPROJ-140c64713b451db3456287e338e1ce297a52d047.tar.gz
PROJ-140c64713b451db3456287e338e1ce297a52d047.zip
Fix data path used by cli tests (#1288)
All other tests use PROJ_LIB, and allow it to be overridden from the command-line, so do the same here.
Diffstat (limited to 'test/cli/testIGNF')
-rwxr-xr-xtest/cli/testIGNF3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/cli/testIGNF b/test/cli/testIGNF
index 0fa04e84..2b2d5a57 100755
--- a/test/cli/testIGNF
+++ b/test/cli/testIGNF
@@ -12,7 +12,6 @@
# the gsb grid is still ok
TEST_CLI_DIR=`dirname $0`
-DATA_DIR=`dirname $0`/../../data
EXE=$1
usage()
@@ -32,7 +31,7 @@ if test ! -x ${EXE}; then
fi
if test -z "${PROJ_LIB}"; then
- export PROJ_LIB=${DATA_DIR}
+ export PROJ_LIB="`dirname $0`/../../data"
fi
echo "============================================"