aboutsummaryrefslogtreecommitdiff
path: root/nad/testdatumfile
diff options
context:
space:
mode:
Diffstat (limited to 'nad/testdatumfile')
-rwxr-xr-xnad/testdatumfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/nad/testdatumfile b/nad/testdatumfile
index e03d1d8b..e3f2764f 100755
--- a/nad/testdatumfile
+++ b/nad/testdatumfile
@@ -3,6 +3,7 @@
# files that are not always available.
#
#
+NAD_DIR=`dirname $0`
EXE=$1
usage()
@@ -97,7 +98,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"