[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apr-cvs
Subject:    svn commit: r979230 - /apr/apr/branches/1.4.x/build/find_apr.m4
From:       rjung () apache ! org
Date:       2010-07-26 10:28:50
Message-ID: 20100726102850.9CDD323889B2 () eris ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic