From patchwork Mon Apr 16 16:02:53 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ludovic.desroches@atmel.com X-Patchwork-Id: 152914 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 59352B6FFF for ; Tue, 17 Apr 2012 02:03:11 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 770AAFFB9E; Mon, 16 Apr 2012 16:03:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ai5PYSrNLhHi; Mon, 16 Apr 2012 16:03:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C4E82FFBB6; Mon, 16 Apr 2012 16:03:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 480608F753 for ; Mon, 16 Apr 2012 16:03:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0CBED8D36E for ; Mon, 16 Apr 2012 16:03:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mW644GXSS7qh for ; Mon, 16 Apr 2012 16:03:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from sjogate2.atmel.com (newsmtp5.atmel.com [204.2.163.5]) by whitealder.osuosl.org (Postfix) with ESMTP id 52AF78CFA7 for ; Mon, 16 Apr 2012 16:03:05 +0000 (UTC) Received: from meyreuil.atmel.fr ([10.159.254.132]) by sjogate2.atmel.com (8.13.6/8.13.6) with ESMTP id q3GFwmae024519 for ; Mon, 16 Apr 2012 08:58:48 -0700 (PDT) Received: from ibiza.rfo.atmel.com ([10.159.245.197]) by meyreuil.atmel.fr (8.11.7p1+Sun/8.11.7) with ESMTP id q3GG33q13438; Mon, 16 Apr 2012 18:03:03 +0200 (MEST) From: ludovic.desroches@atmel.com To: buildroot@busybox.net Date: Mon, 16 Apr 2012 18:02:53 +0200 Message-Id: <1334592173-12495-1-git-send-email-ludovic.desroches@atmel.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <4F8C4224.6040500@atmel.com> References: <4F8C4224.6040500@atmel.com> Cc: nicolas.ferre@atmel.com Subject: [Buildroot] [PATCH] apply-patches.sh: patch pattern was expanded prematurely X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Ludovic Desroches The patch pattern was expanded before being into the patch directory so the expansion add incorrect files. Signed-off-by: Ludovic Desroches --- support/scripts/apply-patches.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index e4b98bc..f82be86 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -87,7 +87,7 @@ function scan_patchdir { fi } -scan_patchdir $patchdir $patchpattern +scan_patchdir "$patchdir" "$patchpattern" # Check for rejects... if [ "`find $builddir/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ] ; then