apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r979231 - /apr/apr-util/branches/1.3.x/build/find_apu.m4
Date Mon, 26 Jul 2010 10:29:46 GMT
Author: rjung
Date: Mon Jul 26 10:29:46 2010
New Revision: 979231

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

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

Backport of r979097 from the 1.5 branch resp.
r979098 from the 1.4 branch.

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

Modified: apr/apr-util/branches/1.3.x/build/find_apu.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/build/find_apu.m4?rev=979231&r1=979230&r2=979231&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/build/find_apu.m4 (original)
+++ apr/apr-util/branches/1.3.x/build/find_apu.m4 Mon Jul 26 10:29:46 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



Mime
View raw message