diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-09-16 15:29:22 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-09-16 15:29:22 +0000 |
commit | 86ec2340c895bd273c057602b25f921dc142dcd4 (patch) | |
tree | 7e586aaf50e2dbe3e779ed77541a02b118290d2d /eclass | |
parent | Fix handling whitespace in filenames when looking for .la files. (diff) | |
download | historical-86ec2340c895bd273c057602b25f921dc142dcd4.tar.gz historical-86ec2340c895bd273c057602b25f921dc142dcd4.tar.bz2 historical-86ec2340c895bd273c057602b25f921dc142dcd4.zip |
Strip ${D} from removal message to shorten it.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools-utils.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index 8a7714790b5c..474da9ba5769 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.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/autotools-utils.eclass,v 1.12 2011/09/16 15:20:03 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.13 2011/09/16 15:29:22 mgorny Exp $ # @ECLASS: autotools-utils.eclass # @MAINTAINER: @@ -151,7 +151,7 @@ remove_libtool_files() { local shouldnotlink=$(sed -ne '/^shouldnotlink=yes$/p' "${f}") if [[ "$1" == 'all' || -z ${shouldnotlink} ]]; then if [[ "$1" != 'none' ]]; then - einfo "Removing unnecessary ${f}" + einfo "Removing unnecessary ${f#${D%/}}" rm -f "${f}" fi fi @@ -159,7 +159,7 @@ remove_libtool_files() { if [[ -n ${shouldnotlink} ]]; then local remove=${f/%.la/.a} [[ "${f}" != "${remove}" ]] || die 'regex sanity check failed' - einfo "Removing unnecessary ${remove}" + einfo "Removing unnecessary ${remove#${D%/}}" rm -f "${remove}" fi done |