aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-14 05:46:07 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-14 05:46:07 +0000
commit1902df6a55bd468bb7768d06159cb208852ff8c1 (patch)
tree1a498ff580025683000a530fd5d2ab986b0c98d6
parentPunt perl version of wrapper in favor of bash by Gregorio Guidi #66478. (diff)
downloadautotools-wrappers-1902df6a55bd468bb7768d06159cb208852ff8c1.tar.gz
autotools-wrappers-1902df6a55bd468bb7768d06159cb208852ff8c1.tar.bz2
autotools-wrappers-1902df6a55bd468bb7768d06159cb208852ff8c1.zip
set binary properly
-rwxr-xr-xam-wrapper.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/am-wrapper.sh b/am-wrapper.sh
index 6733f65..e72cd34 100755
--- a/am-wrapper.sh
+++ b/am-wrapper.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-1.sh,v 1.1 2004/11/14 05:32:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-1.sh,v 1.2 2004/11/14 05:46:07 vapier Exp $
# Based on the am-wrapper.pl script provided by MandrakeSoft
# Rewritten in bash by Gregorio Guidi
@@ -39,12 +39,12 @@ if [ "${0##*/}" = "am-wrapper.sh" ] ; then
exit 1
fi
-vers="$(seq 1.9 -0.1 1.4)"
+vers="1.9 1.8 1.7 1.6 1.5 1.4)"
for v in ${vers} ; do
eval binary_${v/./_}="${0}-${v}"
done
-binary="binary_1_9"
+binary="${binary_1_9}"
#
# autodetect routine