From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25834 invoked by alias); 8 Sep 2014 16:53:32 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 25823 invoked by uid 89); 8 Sep 2014 16:53:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 08 Sep 2014 16:53:30 +0000 Received: by mail-wi0-f175.google.com with SMTP id ex7so2871313wid.14 for ; Mon, 08 Sep 2014 09:53:27 -0700 (PDT) X-Received: by 10.180.35.134 with SMTP id h6mr24601325wij.0.1410195207103; Mon, 08 Sep 2014 09:53:27 -0700 (PDT) Received: from immol0184.aviwest.local (32-200-190-109.dsl.ovh.fr. [109.190.200.32]) by mx.google.com with ESMTPSA id hy9sm11739519wjb.27.2014.09.08.09.53.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 09:53:26 -0700 (PDT) From: Jean-Marie Lemetayer To: crossgcc@sourceware.org Cc: Jean-Marie Lemetayer Subject: [PATCH 1/1] populate: fix empty files.list Date: Mon, 08 Sep 2014 16:53:00 -0000 Message-Id: <1410195198-13085-1-git-send-email-jeanmarie.lemetayer@gmail.com> X-SW-Source: 2014-09/txt/msg00020.txt.bz2 The output format of the file(1) command have changed since (at least) the version 5.14. We need to to take care of an extra space. Signed-off-by: Jean-Marie Lemetayer --- scripts/populate.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/populate.in b/scripts/populate.in index 28a9740..c29be1c 100644 --- a/scripts/populate.in +++ b/scripts/populate.in @@ -280,9 +280,9 @@ CT_TMP_DIR="${TMPDIR:-/tmp}/populate-${rand}-${$}" trap "rm -rf ${CT_TMP_DIR}" EXIT # List all ELF (executables|shared objects)... -find . -type f -exec file {} \; \ -|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB (executable|shared object),' \ -|cut -d ":" -f 1 \ +find . -type f -exec file {} \; \ +|"${grep}" -E ': ELF [[:digit:]]+-bit (L|M)SB +(executable|shared object),' \ +|cut -d ":" -f 1 \ >"${CT_TMP_DIR}/files.list" # ... and use that list to find missing dependencies -- 1.9.1 -- For unsubscribe information see http://sourceware.org/lists.html#faq