mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
fix vsort check
This commit is contained in:
@@ -88,7 +88,7 @@ echo "" | sort -V > /dev/null 2>&1
|
|||||||
vsort_failed=$?
|
vsort_failed=$?
|
||||||
if [ "${1}" = "${2}" ]; then
|
if [ "${1}" = "${2}" ]; then
|
||||||
true
|
true
|
||||||
elif $vsort_failed; then
|
elif (( $vsort_failed != 0 )); then
|
||||||
false
|
false
|
||||||
else
|
else
|
||||||
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"
|
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user