summaryrefslogtreecommitdiffstats
path: root/fortran/examples/run-fortran-ex.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'fortran/examples/run-fortran-ex.sh.in')
-rwxr-xr-xfortran/examples/run-fortran-ex.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/examples/run-fortran-ex.sh.in b/fortran/examples/run-fortran-ex.sh.in
index 1564537..b29eaaf 100755
--- a/fortran/examples/run-fortran-ex.sh.in
+++ b/fortran/examples/run-fortran-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@"