aboutsummaryrefslogtreecommitdiff
path: root/nad/testIGNF
diff options
context:
space:
mode:
Diffstat (limited to 'nad/testIGNF')
-rwxr-xr-xnad/testIGNF3
1 files changed, 2 insertions, 1 deletions
diff --git a/nad/testIGNF b/nad/testIGNF
index 15226774..6f8437f3 100755
--- a/nad/testIGNF
+++ b/nad/testIGNF
@@ -10,6 +10,7 @@
# transformations will be wrong and vice-versa
# 2009-10-04 : addition of NTFG to RGF93G test to check if
# the gsb grid is still ok
+NAD_DIR=`dirname $0`
EXE=$1
usage()
@@ -150,7 +151,7 @@ EOF
#
# 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"