summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/apr_common.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index f6e32b7dc..7bdbf84d6 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -589,7 +589,7 @@ dnl orig_path="${prefix}/bar"
dnl APR_PATH_RELATIVE(final_path, $orig_path, $prefix)
dnl $final_path now contains "bar"
AC_DEFUN(APR_PATH_RELATIVE,[
-stripped=`echo $2 | sed -e "s#^$3##"`
+stripped=`echo $2 | sed -e "s#^${3}##"`
# check if the stripping was successful
if test "x$2" != "x$stripped"; then
# it was, so strip of any leading slashes