summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/testh5dumpxml.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump/testh5dumpxml.sh.in')
-rw-r--r--tools/h5dump/testh5dumpxml.sh.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/h5dump/testh5dumpxml.sh.in b/tools/h5dump/testh5dumpxml.sh.in
index 1a6b2b1..374f504 100644
--- a/tools/h5dump/testh5dumpxml.sh.in
+++ b/tools/h5dump/testh5dumpxml.sh.in
@@ -15,6 +15,8 @@
#
# Tests for the h5dump tool
+srcdir=@srcdir@
+
TESTNAME=h5dumpxml
EXIT_SUCCESS=0
EXIT_FAILURE=1
@@ -34,10 +36,6 @@ AWK='awk'
nerrors=0
verbose=yes
-# The build (current) directory might be different than the source directory.
-if test -z "$srcdir"; then
- srcdir=.
-fi
# source dirs
SRC_TOOLS="$srcdir/../"