You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rj...@apache.org on 2010/07/26 12:28:50 UTC

svn commit: r979230 - /apr/apr/branches/1.4.x/build/find_apr.m4

Author: rjung
Date: Mon Jul 26 10:28:50 2010
New Revision: 979230

URL: http://svn.apache.org/viewvc?rev=979230&view=rev
Log:
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.

Modified:
    apr/apr/branches/1.4.x/build/find_apr.m4

Modified: apr/apr/branches/1.4.x/build/find_apr.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/find_apr.m4?rev=979230&r1=979229&r2=979230&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/build/find_apr.m4 (original)
+++ apr/apr/branches/1.4.x/build/find_apr.m4 Mon Jul 26 10:28:50 2010
@@ -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