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 | 6877af8876186cc127c339e97f7e71a51073caed (patch) | |
tree | 5e2c4e49c69a622f22692b0f34723a9bd29eac7f /eclass | |
parent | EAPI=2 (diff) | |
download | historical-6877af8876186cc127c339e97f7e71a51073caed.tar.gz historical-6877af8876186cc127c339e97f7e71a51073caed.tar.bz2 historical-6877af8876186cc127c339e97f7e71a51073caed.zip |
Use a safer syntax for libtool.eclass (bug #370983).
Diffstat (limited to '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 |