mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-04 04:41:35 +00:00
fix glibc/MacOS issue where equal version failed check
This commit is contained in:
@@ -80,7 +80,11 @@ echo -e '\x1B[0m'
|
|||||||
|
|
||||||
version_gt()
|
version_gt()
|
||||||
{
|
{
|
||||||
|
if [ "${1,,}" = "${2,,}" ]; then
|
||||||
|
true
|
||||||
|
else
|
||||||
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"
|
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
case $gamos in
|
case $gamos in
|
||||||
|
|||||||
Reference in New Issue
Block a user