Reverse sort the output of -V, so the default version is more likely to be at the top

This commit is contained in:
Ondřej Surý 2016-04-29 10:18:41 +02:00
parent 4146c451cc
commit c78b9b9319

View file

@ -124,7 +124,7 @@ list_version() {
local version=
for version in $(list_parts_regex "$version_dir" '.*[0-9]\.[0-9]'); do
echo $version;
done
done | sort -rn
fi
}