forked from premiere/premiere-libtorrent
forward port autotool.sh fix
This commit is contained in:
parent
7957e2a30e
commit
3db77ccf31
|
@ -82,7 +82,7 @@ version_check() {
|
||||||
echo $ECHO_N " testing $vc_checkprog... " $ECHO_C
|
echo $ECHO_N " testing $vc_checkprog... " $ECHO_C
|
||||||
if $vc_checkprog --version < /dev/null > /dev/null 2>&1; then
|
if $vc_checkprog --version < /dev/null > /dev/null 2>&1; then
|
||||||
vc_actual_version=`$vc_checkprog --version | head -n 1 | \
|
vc_actual_version=`$vc_checkprog --version | head -n 1 | \
|
||||||
sed 's/^.*[ ]\([0-9.]*[a-z]*\).*$/\1/'`
|
sed 's/^[^0-9]*\([0-9.]*\).*$/\1/'`
|
||||||
if compare_versions $vc_min_version $vc_actual_version; then
|
if compare_versions $vc_min_version $vc_actual_version; then
|
||||||
echo "found $vc_actual_version"
|
echo "found $vc_actual_version"
|
||||||
# set variables
|
# set variables
|
||||||
|
|
Loading…
Reference in New Issue