Fix for previous own commit (logical error - I hate bash).

This commit is contained in:
Bastien Montagne 2015-11-17 21:50:30 +01:00
parent f08ab30d14
commit a189e544ec
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ version_ge() {
# $1 and $2 should be version numbers made of numbers only.
version_ge_lt() {
version_ge $1 $3
if [ $? -eq 1 ]; then
if [ $? -eq 0 ]; then
return 1
else
version_ge $1 $2