Commit f808969d authored by David Champion's avatar David Champion

version.sh: 1003.1 "-k" instead of obsolete "+" syntax (closes: #3528)

parent 402f1aee
......@@ -25,7 +25,7 @@ cleantag () {
getdistance_old () {
# fudge it
set -- `$HG tags | sort -n +1 | egrep 'mutt-.*rel' | tail -1 | cut -d: -f1`
set -- `$HG tags | sort -n -k 2 | egrep 'mutt-.*rel' | tail -1 | cut -d: -f1`
latesttag="$1"
latestrev="$2"
distance=`expr $rev - $latestrev`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment