aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-22 21:08:08 +0000
committerSam James <sam@gentoo.org>2022-11-22 21:08:08 +0000
commit6553d00e27c58cd28449e05521db3e9bf66fc400 (patch)
tree6f4e7c1acf938cea62b048b165d369d58af43f01
parentac-wrapper.sh: handle 9999 too (diff)
downloadautotools-wrappers-6553d00e27c58cd28449e05521db3e9bf66fc400.tar.gz
autotools-wrappers-6553d00e27c58cd28449e05521db3e9bf66fc400.tar.bz2
autotools-wrappers-6553d00e27c58cd28449e05521db3e9bf66fc400.zip
am-wrapper.sh: handle 9999 too
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xam-wrapper.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/am-wrapper.sh b/am-wrapper.sh
index 492292c..6a54025 100755
--- a/am-wrapper.sh
+++ b/am-wrapper.sh
@@ -73,7 +73,8 @@ fi
# Start with last known versions to speed up lookup process.
#
LAST_KNOWN_AUTOMAKE_VER="16"
-vers=$(printf '1.%s ' `seq ${LAST_KNOWN_AUTOMAKE_VER} -1 4`)
+vers="9999"
+vers="${vers} $(printf '1.%s ' `seq ${LAST_KNOWN_AUTOMAKE_VER} -1 4`)"
#
# Helper to scan for a usable program based on version.