aboutsummaryrefslogtreecommitdiff
path: root/nad/testntv2
diff options
context:
space:
mode:
Diffstat (limited to 'nad/testntv2')
-rwxr-xr-xnad/testntv23
1 files changed, 2 insertions, 1 deletions
diff --git a/nad/testntv2 b/nad/testntv2
index 5a9e1a73..669517d5 100755
--- a/nad/testntv2
+++ b/nad/testntv2
@@ -3,6 +3,7 @@
# Test NTv2 (.gsb) support. Assumes ntv2_0.gsb is installed.
#
#
+NAD_DIR=`dirname $0`
EXE=$1
usage()
@@ -56,7 +57,7 @@ EOF
# Done!
# do 'diff' with distribution results
echo "diff ${OUT} with ${OUT}.dist"
-diff -b ${OUT} ${OUT}.dist
+diff -b ${OUT} ${NAD_DIR}/${OUT}.dist
if [ $? -ne 0 ] ; then
echo ""
echo "PROBLEMS HAVE OCCURED"