diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-06-10 10:14:21 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2011-06-10 10:14:21 +0000 |
commit | da1177b4a6f83fa31227717f931bfe744b296b57 (patch) | |
tree | faace59a74f4591ea66fd38f3f66c32e39de815a /eclass/libtool.eclass | |
parent | EAPI=2 (diff) | |
download | gentoo-2-da1177b4a6f83fa31227717f931bfe744b296b57.tar.gz gentoo-2-da1177b4a6f83fa31227717f931bfe744b296b57.tar.bz2 gentoo-2-da1177b4a6f83fa31227717f931bfe744b296b57.zip |
Use a safer syntax for libtool.eclass (bug #370983).
Diffstat (limited to 'eclass/libtool.eclass')
-rw-r--r-- | eclass/libtool.eclass | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass index 38f7a79bfd5d..79955f55c7b9 100644 --- a/eclass/libtool.eclass +++ b/eclass/libtool.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.91 2011/06/09 15:53:04 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.92 2011/06/10 10:14:21 flameeyes Exp $ # @ECLASS: libtool.eclass # @MAINTAINER: @@ -28,10 +28,8 @@ ELT_try_and_apply_patch() { local file=$1 local patch=$2 - ( - echo "" - echo "Trying $(basename "$(dirname "${patch}")")-${patch##*/}.patch on ${file}" - ) &>> "${T}/elibtool.log" + echo -e "\nTrying $(basename "$(dirname "${patch}")")-${patch##*/}.patch on ${file}" \ + &>> "${T}/elibtool.log" # We only support patchlevel of 0 - why worry if its static patches? if patch -p0 --dry-run "${file}" "${patch}" &>> "${T}/elibtool.log" ; then |