summaryrefslogtreecommitdiffstats
path: root/build/pkg
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2005-03-30 14:45:23 +0200
committerGraham Leggett <minfrin@apache.org>2005-03-30 14:45:23 +0200
commit3df7b5372c736690066673824a5bad030d2b162c (patch)
tree7817afba716fb38bd4e8aabd30f8374f02f71da4 /build/pkg
parentsync with 2.0.54-dev (diff)
downloadapache2-3df7b5372c736690066673824a5bad030d2b162c.tar.xz
apache2-3df7b5372c736690066673824a5bad030d2b162c.zip
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
Diffstat (limited to 'build/pkg')
-rwxr-xr-xbuild/pkg/buildpkg.sh4
1 files 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