aboutsummaryrefslogtreecommitdiff
path: root/nad/test83
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2015-02-16 17:41:10 +0000
committerHoward Butler <howard@hobu.co>2015-02-16 17:41:10 +0000
commit579ac1180968e3d3a96cf5bfd73da90e8ce7be25 (patch)
treebcace98fbf5c99c410cbc36e62f0dff78700a54c /nad/test83
parent862c4682e67ab06b60951b57bf6634789651677a (diff)
downloadPROJ-579ac1180968e3d3a96cf5bfd73da90e8ce7be25.tar.gz
PROJ-579ac1180968e3d3a96cf5bfd73da90e8ce7be25.zip
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
Diffstat (limited to 'nad/test83')
-rwxr-xr-xnad/test835
1 files changed, 3 insertions, 2 deletions
diff --git a/nad/test83 b/nad/test83
index 2de16ab7..4dcb15e4 100755
--- a/nad/test83
+++ b/nad/test83
@@ -7,6 +7,7 @@
# Proj will vary in the .001ft range with projections using Transverse
# Mercator due to greater precision of meridinal distance function.
#
+NAD_DIR=`dirname $0`
EXE=$1
usage()
@@ -30,7 +31,7 @@ echo "Running ${0} using ${EXE}:"
echo "============================================"
OUT=proj_out83
-INIT_FILE=./nad83
+INIT_FILE=${NAD_DIR}/nad83
#
echo "doing tests into file ${OUT}, please wait"
#
@@ -712,7 +713,7 @@ EOF
#
# do 'diff' with distribution results
echo "diff ${OUT} with pj_out83.dist"
-diff -b ${OUT} pj_out83.dist
+diff -b ${OUT} ${NAD_DIR}/pj_out83.dist
if [ $? -ne 0 ] ; then
echo ""
echo "PROBLEMS HAVE OCCURED"