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