From patchwork Mon Apr 16 21:19:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 152999 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 85607B700B for ; Tue, 17 Apr 2012 07:19:50 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7C8992067B; Mon, 16 Apr 2012 21:19:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VCovnehOQMDJ; Mon, 16 Apr 2012 21:19:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6E12532059; Mon, 16 Apr 2012 21:19:48 +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 AAC4C8F75B for ; Mon, 16 Apr 2012 21:19:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A5D18CD2F for ; Mon, 16 Apr 2012 21:19:46 +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 F93fcAZwS5za for ; Mon, 16 Apr 2012 21:19:45 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by whitealder.osuosl.org (Postfix) with ESMTP id 4D66A8BACF for ; Mon, 16 Apr 2012 21:19:45 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id 411E996AEC; Mon, 16 Apr 2012 21:19:45 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Mon, 16 Apr 2012 23:19:08 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: e530970c28ac1341613cc7a3605960e0373731b6 X-Git-Newrev: 7c717bbfffea0c55d348435e9b98e492b11b9177 X-Patchwork-Hint: ignore Message-Id: <20120416211945.411E996AEC@busybox.osuosl.org> Subject: [Buildroot] [git commit] 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 commit: http://git.buildroot.net/buildroot/commit/?id=7c717bbfffea0c55d348435e9b98e492b11b9177 branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master The patch pattern was expanded before being into the patch directory so the expansion can add incorrect files. Signed-off-by: Ludovic Desroches Signed-off-by: Peter Korsgaard --- 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