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 1R3TjU-0003Pi-Dl for garchives@archives.gentoo.org; Tue, 13 Sep 2011 14:13:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3439321C0F0; Tue, 13 Sep 2011 14:11:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 179B021C07E for ; Tue, 13 Sep 2011 14:08:51 +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 515931B400E; Tue, 13 Sep 2011 14:08:49 +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 1/9] Fix handling whitespace in filenames when looking for .la files. Date: Tue, 13 Sep 2011 16:10:25 +0200 Message-Id: <1315923033-23397-1-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.7.6.1 In-Reply-To: <1315857465-8179-1-git-send-email-mgorny@gentoo.org> References: <1315857465-8179-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: ba0657e19670815e54c818876182a0cf --- eclass/autotools-utils.eclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass index ad5ffea..8bc365d 100644 --- a/eclass/autotools-utils.eclass +++ b/eclass/autotools-utils.eclass @@ -146,7 +146,7 @@ remove_libtool_files() { debug-print-function ${FUNCNAME} "$@" local f - for f in $(find "${D}" -type f -name '*.la'); do + find "${D}" -type f -name '*.la' -print0 | while read -r -d '' f; do # Keep only .la files with shouldnotlink=yes - likely plugins local shouldnotlink=$(sed -ne '/^shouldnotlink=yes$/p' "${f}") if [[ "$1" == 'all' || -z ${shouldnotlink} ]]; then -- 1.7.6.1