From 3df7b5372c736690066673824a5bad030d2b162c Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Wed, 30 Mar 2005 12:45:23 +0000 Subject: [PATCH] Add inverted commas to the build script parameter so that it works correctly when which outputs an empty string. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@159479 13f79535-47bb-0310-9956-ffa450edef68 --- build/pkg/buildpkg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/pkg/buildpkg.sh b/build/pkg/buildpkg.sh index 0e467d1adb..4dd7d81756 100755 --- a/build/pkg/buildpkg.sh +++ b/build/pkg/buildpkg.sh @@ -50,13 +50,13 @@ do 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 -- 2.50.1