diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-05 08:22:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-05 08:22:46 +0000 |
commit | 25a3fa45199d9d231297db0f08418d4a874f55f9 (patch) | |
tree | 93c9b7e287e047f06b64546050e5c00d5f750f52 /sys-devel/automake-wrapper | |
parent | Make default automake selection more flexible and allow WANT_AUTOMAKE to cont... (diff) | |
download | gentoo-2-25a3fa45199d9d231297db0f08418d4a874f55f9.tar.gz gentoo-2-25a3fa45199d9d231297db0f08418d4a874f55f9.tar.bz2 gentoo-2-25a3fa45199d9d231297db0f08418d4a874f55f9.zip |
make sure we warn when someone uses an invalid WANT_AUTOMAKE value
(Portage version: 2.1.2_rc1-r2)
Diffstat (limited to 'sys-devel/automake-wrapper')
-rwxr-xr-x | sys-devel/automake-wrapper/files/am-wrapper-3.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/automake-wrapper/files/am-wrapper-3.sh b/sys-devel/automake-wrapper/files/am-wrapper-3.sh index 0bbb69a927cd..ff8cde7b22c5 100755 --- a/sys-devel/automake-wrapper/files/am-wrapper-3.sh +++ b/sys-devel/automake-wrapper/files/am-wrapper-3.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 |