summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2010-07-25 19:30:02 +0000
committerRainer Jung <rjung@apache.org>2010-07-25 19:30:02 +0000
commitab02bb03b76d20ca5e8999a22dd44f72f0cd5635 (patch)
tree5783240b9141b389bdeecec99416cc90e31a70a1 /build
parent24ad41a389e5afd56f3f04dec555276b194fd107 (diff)
downloadapr-ab02bb03b76d20ca5e8999a22dd44f72f0cd5635.tar.gz
Quote argument when used.
Choosing the same style as in the "sed" command directly below. Backport of r979074 from trunk. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@979096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/find_apr.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/find_apr.m4 b/build/find_apr.m4
index 88f64a7e3..925e523f8 100644
--- a/build/find_apr.m4
+++ b/build/find_apr.m4
@@ -176,7 +176,7 @@ AC_DEFUN([APR_FIND_APR], [
fi
dnl if we have not found anything yet and have bundled source, use that
if test "$apr_found" = "no" && test -d "$1"; then
- apr_temp_abs_srcdir="`cd $1 && pwd`"
+ apr_temp_abs_srcdir="`cd \"$1\" && pwd`"
apr_found="reconfig"
apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"$1/include/apr_version.h\"`"
case $apr_bundled_major in