aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-05 08:22:46 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-05 08:22:46 +0000
commitd49887c1093ecb3150aa89040d5bc38a47a4b907 (patch)
tree44ca941e9ce7874b89bbc16e82b0047a21d4b4c4
parentMake default automake selection more flexible and allow WANT_AUTOMAKE to cont... (diff)
downloadautotools-wrappers-d49887c1093ecb3150aa89040d5bc38a47a4b907.tar.gz
autotools-wrappers-d49887c1093ecb3150aa89040d5bc38a47a4b907.tar.bz2
autotools-wrappers-d49887c1093ecb3150aa89040d5bc38a47a4b907.zip
make sure we warn when someone uses an invalid WANT_AUTOMAKE value
Package-Manager: portage-2.1.2_rc1-r2
-rwxr-xr-xam-wrapper.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/am-wrapper.sh b/am-wrapper.sh
index 0bbb69a..ff8cde7 100755
--- a/am-wrapper.sh
+++ b/am-wrapper.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2006 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-3.sh,v 1.1 2006/11/05 08:11:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/automake-wrapper/files/am-wrapper-3.sh,v 1.2 2006/11/05 08:22:46 vapier Exp $
# Based on the am-wrapper.pl script provided by MandrakeSoft
# Rewritten in bash by Gregorio Guidi
@@ -79,6 +79,7 @@ fi
if [ -n "${WANT_AUTOMAKE}" ] ; then
for v in ${vers} x ; do
if [ "${v}" = "x" ] ; then
+ echo "am-wrapper: warning: invalid WANT_AUTOMAKE '${WANT_AUTOMAKE}'; ignoring." >&2
unset WANT_AUTOMAKE
break
fi