summaryrefslogtreecommitdiffstats
path: root/test/testlinks_env.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlinks_env.sh.in')
-rw-r--r--test/testlinks_env.sh.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/testlinks_env.sh.in b/test/testlinks_env.sh.in
index 5a7e045..04dfa62 100644
--- a/test/testlinks_env.sh.in
+++ b/test/testlinks_env.sh.in
@@ -15,12 +15,9 @@
#
# Test for external link with environment variable: HDF5_EXT_PREFIX
-nerrors=0
+srcdir=@srcdir@
-# The build (current) directory might be different than the source directory.
-if test -z "$srcdir"; then
- srcdir=.
-fi
+nerrors=0
##############################################################################
##############################################################################