From 579ac1180968e3d3a96cf5bfd73da90e8ce7be25 Mon Sep 17 00:00:00 2001 From: Howard Butler Date: Mon, 16 Feb 2015 17:41:10 +0000 Subject: apply patch for #247 to support out-of-tree autoconf builds git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2602 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- nad/testntv2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nad/testntv2') 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" -- cgit v1.2.3