diff options
| author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2019-02-24 08:02:45 -0500 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-02-24 14:02:45 +0100 |
| commit | 140c64713b451db3456287e338e1ce297a52d047 (patch) | |
| tree | 934a622c2eea6ef6fb5a53ecac20b96b1f2228b7 /test/cli/testvarious | |
| parent | 36a43f88aa2a136ddb1b901cff469e6e0d9e75d7 (diff) | |
| download | PROJ-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/testvarious')
| -rwxr-xr-x | test/cli/testvarious | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious index c1fa61df..43b1f63c 100755 --- a/test/cli/testvarious +++ b/test/cli/testvarious @@ -4,7 +4,6 @@ # # TEST_CLI_DIR=`dirname $0` -DATA_DIR=`dirname $0`/../../data EXE=$1 usage() @@ -24,7 +23,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 # Would be great to have a universale way of selecting a locale with |
