aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2021-10-23 16:46:35 +0200
committerGregor Jasny <gjasny@googlemail.com>2021-10-23 16:47:38 +0200
commitcd810530246856d7fb8e233ee4b9577544641970 (patch)
tree8ba9076c8b7ba590a4518b771a9b846b0a238932 /bootstrap.sh
parentbc91239d9552db774e83eb60db3680d439cd950b (diff)
bootstrap.sh: Replace which with POSIX compliant command -v
This avoids a deprecation warning on Debian on /usr/bin/which.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 0e9eb2d4..0ad344c3 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -4,7 +4,7 @@ mkdir build-aux/ 2>/dev/null
touch build-aux/config.rpath libdvbv5-po/Makefile.in.in v4l-utils-po/Makefile.in.in
autoreconf -vfi
-GETTEXTIZE=$(which gettextize)
+GETTEXTIZE=$(command -v gettextize)
if [ "GETTEXTIZE" != "" ]; then
VER=$(gettextize --version|perl -ne 'print $1 if (m/(\d\.\d.*)/)')

Privacy Policy