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 | d1c463a897ce9bad1e8ce5a5d9120ba537cec4cc (patch) | |
tree | 633954e5a15c5b29cebc988fb525b3fdccf63b19 /eclass | |
parent | Marking atk-1.28.0 ppc64 for bug 304777 (diff) | |
download | gentoo-2-d1c463a897ce9bad1e8ce5a5d9120ba537cec4cc.tar.gz gentoo-2-d1c463a897ce9bad1e8ce5a5d9120ba537cec4cc.tar.bz2 gentoo-2-d1c463a897ce9bad1e8ce5a5d9120ba537cec4cc.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 |