aboutsummaryrefslogtreecommitdiff
path: root/bpkg-util/manage.in
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-13 11:38:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-13 11:39:57 +0200
commitdb66912837817e3878db8f845a305399ddc29fe3 (patch)
tree9448715038d47d9d73d5b9877e7c0d19b7645e3b /bpkg-util/manage.in
parent136d72b1ddb7082c50bbf690fd6db310a780b944 (diff)
Use numeric sort for commit numbers in manage script
Diffstat (limited to 'bpkg-util/manage.in')
-rw-r--r--bpkg-util/manage.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg-util/manage.in b/bpkg-util/manage.in
index a0add0b..39d4ee7 100644
--- a/bpkg-util/manage.in
+++ b/bpkg-util/manage.in
@@ -2144,7 +2144,7 @@ while true; do
# IFS) because neither space nor tab characters (the other members of IFS)
# can occur in the keys.
#
- bundle=($(sed 's/ /\n/g' <<<"${bundle[*]}" | sort -))
+ bundle=($(sed 's/ /\n/g' <<<"${bundle[*]}" | sort --numeric-sort -))
printf "\n"
read -p "[${bundle[*]}][<N>,m,d,s,c,p,l,q,?]: " opt