httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r159479 - httpd/httpd/trunk/build/pkg/buildpkg.sh
Date Wed, 30 Mar 2005 12:45:24 GMT
Author: minfrin
Date: Wed Mar 30 04:45:23 2005
New Revision: 159479

URL: http://svn.apache.org/viewcvs?view=rev&rev=159479
Log:
Add inverted commas to the build script parameter so that it works correctly when which outputs
an empty string.

Modified:
    httpd/httpd/trunk/build/pkg/buildpkg.sh

Modified: httpd/httpd/trunk/build/pkg/buildpkg.sh
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/build/pkg/buildpkg.sh?view=diff&r1=159478&r2=159479
==============================================================================
--- httpd/httpd/trunk/build/pkg/buildpkg.sh (original)
+++ httpd/httpd/trunk/build/pkg/buildpkg.sh Wed Mar 30 04:45:23 2005
@@ -50,13 +50,13 @@
   shift
 done
 
-if [ ! -f $apr_config -a ! -f $apr_config/configure.in ]; then
+if [ ! -f "$apr_config" -a ! -f "$apr_config/configure.in" ]; then
   echo "The apr source directory / apr-1-config could not be found"
   echo "Usage: buildpkg [--with-apr=[dir|file]] [--with-apr-util=[dir|file]]"
   exit 1
 fi
 
-if [ ! -f $apu_config -a ! -f $apu_config/configure.in ]; then
+if [ ! -f "$apu_config" -a ! -f "$apu_config/configure.in" ]; then
   echo "The apu source directory / apu-1-config could not be found"
   echo "Usage: buildpkg [--with-apr=[dir|file]] [--with-apr-util=[dir|file]]"
   exit 1



Mime
View raw message