aboutsummaryrefslogtreecommitdiff
path: root/nad/testdatumfile
diff options
context:
space:
mode:
Diffstat (limited to 'nad/testdatumfile')
-rwxr-xr-xnad/testdatumfile13
1 files changed, 6 insertions, 7 deletions
diff --git a/nad/testdatumfile b/nad/testdatumfile
index 4a647ef3..0285e4cf 100755
--- a/nad/testdatumfile
+++ b/nad/testdatumfile
@@ -13,13 +13,12 @@ usage()
}
if test -z "${EXE}"; then
- echo "*** ERROR: Missing path to 'cs2cs' program."
- usage
-else
- if test ! -x ${EXE}; then
- echo "*** ERROR: Can not find '${EXE}' program!"
- exit 1
- fi
+ EXE=../src/cs2cs
+fi
+
+if test ! -x ${EXE}; then
+ echo "*** ERROR: Can not find '${EXE}' program!"
+ exit 1
fi
echo "============================================"