apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r979074 - /apr/apr/trunk/build/find_apr.m4
Date Sun, 25 Jul 2010 17:36:05 GMT
Author: rjung
Date: Sun Jul 25 17:36:05 2010
New Revision: 979074

URL: http://svn.apache.org/viewvc?rev=979074&view=rev
Log:
Quote argument when used.

Choosing the same style as in the "sed" command
directly below.

Modified:
    apr/apr/trunk/build/find_apr.m4

Modified: apr/apr/trunk/build/find_apr.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/find_apr.m4?rev=979074&r1=979073&r2=979074&view=diff
==============================================================================
--- apr/apr/trunk/build/find_apr.m4 (original)
+++ apr/apr/trunk/build/find_apr.m4 Sun Jul 25 17:36:05 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



Mime
View raw message