From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R3TjZ-0003Qm-Ip for garchives@archives.gentoo.org; Tue, 13 Sep 2011 14:13:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D01221C0ED; Tue, 13 Sep 2011 14:11:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7F0B421C0AF for ; Tue, 13 Sep 2011 14:08:52 +0000 (UTC) Received: from localhost.localdomain (77-255-22-60.adsl.inetia.pl [77.255.22.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 041B31B401B; Tue, 13 Sep 2011 14:08:50 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: reavertm@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH autotools-utils 2/9] Strip ${D} from removal message to shorten it. Date: Tue, 13 Sep 2011 16:10:26 +0200 Message-Id: <1315923033-23397-2-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.7.6.1 In-Reply-To: <1315923033-23397-1-git-send-email-mgorny@gentoo.org> References: <1315857465-8179-1-git-send-email-mgorny@gentoo.org> <1315923033-23397-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: X-Archives-Hash: e3ebb6e3f7bc8298816db7502c4775bd --- eclass/autotools-utils.eclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index 8bc365d..31d228b 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -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 -- 1.7.6.1