blob: bd37dbbfe75180ffb9eaeac504e2bf48dce1c760 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/bld/get-version b/bld/get-version
index e472aab..3bf0b87 100755
--- a/bld/get-version
+++ b/bld/get-version
@@ -28,7 +28,7 @@ else
vers=`cat $1/VERSION | sed 's/[(), ]/,/ g' | tr ',' '\n' | grep ^v[0-9]`
if [ $? -eq 0 ]; then
- echo "${vers}" | sort -r | head -n 1 | sed 's/^v//'
+ echo "${vers}" | sort | head -n 1 | sed 's/^v//'
else
cat $1/VERSION
fi
|