summaryrefslogtreecommitdiffstats
path: root/build/pkg
diff options
context:
space:
mode:
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