mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 17:31:08 +00:00
fix the libtool version extraction to work on freebsd
This commit is contained in:
parent
b7def83d19
commit
54ade1b8a5
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ fi
|
|||
lt=`which $libtoolize`
|
||||
if test -n "$lt" ; then
|
||||
if test -x "$lt" ; then
|
||||
LTIZE_VER=`$libtoolize --version | head -1 | sed 's/^[^0-9]*//'`
|
||||
LTIZE_VER=`$libtoolize --version | head -1 | sed 's/.* \(\<[1-9][0-9]*\(\.[1-9][0-9]*\)\(\.[1-9][0-9]*\)*\).*/\1/'`
|
||||
LTIZE_VER_MAJOR=`echo $LTIZE_VER | cut -f1 -d'.'`
|
||||
LTIZE_VER_MINOR=`echo $LTIZE_VER | cut -f2 -d'.' | sed -e 's/[^0-9]//g'`
|
||||
|
||||
|
|
Loading…
Reference in a new issue