summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xc++/examples/testh5c++.sh.in2
-rwxr-xr-xexamples/testh5cc.sh.in2
-rwxr-xr-xfortran/examples/testh5fc.sh.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/c++/examples/testh5c++.sh.in b/c++/examples/testh5c++.sh.in
index 0fa7486..cfab0f0 100755
--- a/c++/examples/testh5c++.sh.in
+++ b/c++/examples/testh5c++.sh.in
@@ -21,7 +21,7 @@
# Initializations
# Where the tool is installed.
-prefix="@prefix@"
+prefix="${prefix:-@prefix@}"
AR=@AR@
RANLIB=@RANLIB@
H5TOOL="h5c++" # The tool name
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in
index 68358a3..b3d5575 100755
--- a/examples/testh5cc.sh.in
+++ b/examples/testh5cc.sh.in
@@ -21,7 +21,7 @@
# Initializations
# Where the tool is installed.
-prefix="@prefix@"
+prefix="${prefix:-@prefix@}"
PARALLEL=@PARALLEL@ # Am I in parallel mode?
AR=@AR@
RANLIB=@RANLIB@
diff --git a/fortran/examples/testh5fc.sh.in b/fortran/examples/testh5fc.sh.in
index d45d39c..5db1580 100755
--- a/fortran/examples/testh5fc.sh.in
+++ b/fortran/examples/testh5fc.sh.in
@@ -21,7 +21,7 @@
# Initializations
# Where the tool is installed.
-prefix="@prefix@"
+prefix="${prefix:-@prefix@}"
PARALLEL=@PARALLEL@ # Am I in parallel mode?
AR=@AR@
RANLIB=@RANLIB@