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

List:       apr-cvs
Subject:    svn commit: r979097 - /apr/apr-util/branches/1.5.x/build/find_apu.m4
From:       rjung () apache ! org
Date:       2010-07-25 19:31:39
Message-ID: 20100725193139.9A2FA238899C () eris ! apache ! org
[Download RAW message or body]

Author: rjung
Date: Sun Jul 25 19:31:39 2010
New Revision: 979097

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

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

Port of r979074 from apr trunk.

Modified:
    apr/apr-util/branches/1.5.x/build/find_apu.m4

Modified: apr/apr-util/branches/1.5.x/build/find_apu.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/build/find_apu.m4?rev=979097&r1=979096&r2=979097&view=diff
 ==============================================================================
--- apr/apr-util/branches/1.5.x/build/find_apu.m4 (original)
+++ apr/apr-util/branches/1.5.x/build/find_apu.m4 Sun Jul 25 19:31:39 2010
@@ -185,7 +185,7 @@ AC_DEFUN([APR_FIND_APU], [
     fi
     dnl if we have not found anything yet and have bundled source, use that
     if test "$apu_found" = "no" && test -d "$1"; then
-      apu_temp_abs_srcdir="`cd $1 && pwd`"
+      apu_temp_abs_srcdir="`cd \"$1\" && pwd`"
       apu_found="reconfig"
       apu_bundled_major="`sed -n \
'/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \
\"$1/include/apu_version.h\"`"  case $apu_bundled_major in


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

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