summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>2010-07-26 10:28:50 +0000
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>2010-07-26 10:28:50 +0000
commitd1d084185f318ce108834d1790eb4ab6f3ffdcfc (patch)
treefdcbd2643a84ca2f143436e34049e84f344de337 /build
parent56fca78016bb282789f765d6464eac11ffda75a9 (diff)
downloadlibapr-d1d084185f318ce108834d1790eb4ab6f3ffdcfc.tar.gz
Quote argument when used.
Choosing the same style as in the "sed" command directly below. Backport of r979074 from trunk resp. r979096 from the 1.5 branch. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@979230 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