aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-11-22 21:08:01 +0000
committerSam James <sam@gentoo.org>2022-11-22 21:08:01 +0000
commit3200de842d5141b4c6c816797b11b59858793f25 (patch)
tree23d266dd1bc4778b8164129fa61c8db902fb1cf3
parentautoconf-wrapper: fix version detection (diff)
downloadautotools-wrappers-3200de842d5141b4c6c816797b11b59858793f25.tar.gz
autotools-wrappers-3200de842d5141b4c6c816797b11b59858793f25.tar.bz2
autotools-wrappers-3200de842d5141b4c6c816797b11b59858793f25.zip
ac-wrapper.sh: handle 9999 too
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xac-wrapper.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ac-wrapper.sh b/ac-wrapper.sh
index 5a489a2..fb10d1c 100755
--- a/ac-wrapper.sh
+++ b/ac-wrapper.sh
@@ -80,7 +80,8 @@ fi
# Start with last known versions to speed up lookup process.
#
LAST_KNOWN_VER="71"
-vers=$(printf '2.%s ' `seq ${LAST_KNOWN_VER} -1 50`)
+vers="9999"
+vers="${vers} $(printf '2.%s ' `seq ${LAST_KNOWN_VER} -1 50`)"
#
# Helper to scan for a usable program based on version.