fix vsort check

This commit is contained in:
Jay Lee
2019-10-10 11:24:27 -04:00
parent 0e04b34852
commit 9208b4c4dd

View File

@@ -88,7 +88,7 @@ echo "" | sort -V > /dev/null 2>&1
vsort_failed=$?
if [ "${1}" = "${2}" ]; then
true
elif $vsort_failed; then
elif (( $vsort_failed != 0 )); then
false
else
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"