summaryrefslogtreecommitdiffstats
path: root/build/pkg
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2023-01-04 14:42:35 +0100
committerRuediger Pluem <rpluem@apache.org>2023-01-04 14:42:35 +0100
commit05297d7b00f0cb1f20d3ff14f4409097df2615fe (patch)
tree1a4380dd55140350400394710f70b0d53d96274f /build/pkg
parent* Add CHANGELOG for r1906379, r1906380 (diff)
downloadapache2-05297d7b00f0cb1f20d3ff14f4409097df2615fe.tar.xz
apache2-05297d7b00f0cb1f20d3ff14f4409097df2615fe.zip
Use 'command -v' instead of 'which' which is more portable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906387 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 028124057b..a2d7934cb2 100755
--- a/build/pkg/buildpkg.sh
+++ b/build/pkg/buildpkg.sh
@@ -24,8 +24,8 @@ PREFIX=/usr/local/apache2
TEMPDIR=/var/tmp/$USER/httpd-root
rm -rf $TEMPDIR
-apr_config=`which apr-1-config`
-apu_config=`which apu-1-config`
+apr_config=`command -v apr-1-config`
+apu_config=`command -v apu-1-config`
while test $# -gt 0
do