mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[build] Fix which obsolete warning
bootstrap uses sh, so command should always be a thing.
This commit is contained in:
parent
ba8da88f56
commit
799d247e1a
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ if test x`uname` = xDarwin ; then
|
|||
else
|
||||
libtoolize=libtoolize
|
||||
fi
|
||||
lt=`which $libtoolize`
|
||||
lt=`command -v $libtoolize --version`
|
||||
if test -n "$lt" ; then
|
||||
if test -x "$lt" ; then
|
||||
LTIZE_VER=`$libtoolize --version | head -1 | sed 's/.* \([1-9][0-9]*\(\.[1-9][0-9]*\)\(\.[1-9][0-9]*\)*\).*/\1/'`
|
||||
|
@ -63,7 +63,7 @@ else
|
|||
fi
|
||||
|
||||
# Check Autoconf version
|
||||
ac=`which autoconf`
|
||||
ac=`command -v autoconf`
|
||||
if test -n "$ac" ; then
|
||||
if test -x "$ac" ; then
|
||||
AC_VER=`autoconf --version | head -1 | sed 's/^[^0-9]*//'`
|
||||
|
@ -82,7 +82,7 @@ else
|
|||
errors="Autoconf not found. QuakeForge git requires autoconf to bootstrap itself.\n$errors"
|
||||
fi
|
||||
|
||||
am=`which automake`
|
||||
am=`command -v automake`
|
||||
if test -n "$am" ; then
|
||||
if test -x "$am" ; then
|
||||
AM_VER=`automake --version | head -1 | sed -e 's/automake (GNU automake) //' -e 's/\-p.*$//'`
|
||||
|
|
Loading…
Reference in a new issue