diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-11 20:08:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-05-11 20:08:02 +0000 |
commit | c095cd186862302c28d972a8922f17b516c46e8a (patch) | |
tree | 76af1239d764b834352be918068b265a37c50900 /eclass | |
parent | Marking atk-1.28.0 ppc64 for bug 304777 (diff) | |
download | historical-c095cd186862302c28d972a8922f17b516c46e8a.tar.gz historical-c095cd186862302c28d972a8922f17b516c46e8a.tar.bz2 historical-c095cd186862302c28d972a8922f17b516c46e8a.zip |
add -m1 to grep for unpack_makeself for bug #319059
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/eutils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass index 7ac958bfe278..8a260ca3140e 100644 --- a/eclass/eutils.eclass +++ b/eclass/eutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.342 2010/04/19 19:54:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.343 2010/05/11 20:08:02 mr_bones_ Exp $ # @ECLASS: eutils.eclass # @MAINTAINER: @@ -1329,7 +1329,7 @@ unpack_makeself() { local shrtsrc=$(basename "${src}") echo ">>> Unpacking ${shrtsrc} to ${PWD}" if [[ -z ${skip} ]] ; then - local ver=$(grep -a '#.*Makeself' "${src}" | awk '{print $NF}') + local ver=$(grep -m1 -a '#.*Makeself' "${src}" | awk '{print $NF}') local skip=0 exe=tail case ${ver} in |