summaryrefslogtreecommitdiffstats
path: root/hl/fortran/examples/run-hlfortran-ex.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'hl/fortran/examples/run-hlfortran-ex.sh.in')
-rwxr-xr-xhl/fortran/examples/run-hlfortran-ex.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/hl/fortran/examples/run-hlfortran-ex.sh.in b/hl/fortran/examples/run-hlfortran-ex.sh.in
index 644a9b7..364b438 100755
--- a/hl/fortran/examples/run-hlfortran-ex.sh.in
+++ b/hl/fortran/examples/run-hlfortran-ex.sh.in
@@ -33,7 +33,8 @@ EXIT_SUCCESS=0
EXIT_FAILURE=1
# Where the tool is installed.
-prefix="${prefix:-${DESTDIR}/@prefix@}"
+# Note: no '/' after DESTDIR. Explanation in commence.am
+prefix="${prefix:-${DESTDIR}@prefix@}"
PARALLEL=@PARALLEL@ # Am I in parallel mode?
AR="@AR@"
RANLIB="@RANLIB@"