From patchwork Tue Mar 20 22:51:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 147874 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 3003AB6EE6 for ; Wed, 21 Mar 2012 10:32:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 33D7C101117; Tue, 20 Mar 2012 23:32:28 +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 jIRVJs+txDt8; Tue, 20 Mar 2012 23:32:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D48D3100E98; Tue, 20 Mar 2012 23:32:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 056648F75B for ; Tue, 20 Mar 2012 23:32:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F3E6F101126 for ; Tue, 20 Mar 2012 23:32:00 +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 F6cgFX9z57WC for ; Tue, 20 Mar 2012 23:31:59 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by fraxinus.osuosl.org (Postfix) with ESMTP id B3453100744 for ; Tue, 20 Mar 2012 23:31:59 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id AE89C95403; Tue, 20 Mar 2012 23:31:59 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Tue, 20 Mar 2012 23:51:10 +0100 X-Git-Refname: refs/heads/master X-Git-Oldrev: a7773ea4127b292172cbc7dd9507167dd0d3d3f4 X-Git-Newrev: 1b671d477bc3154c1c72e2a770b8a97e4566a359 Message-Id: <20120320233159.AE89C95403@busybox.osuosl.org> Subject: [Buildroot] [git commit] apply-patches.sh: cleanup 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=1b671d477bc3154c1c72e2a770b8a97e4566a359 branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master Add quoting and remove redundant command. Signed-off-by: Ludovic Desroches Tested-by: Ludovic Desroches with an armadeus_apf9328_defconfig build Acked-by: Thomas Petazzoni Tested-by: Thomas Petazzoni Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- support/scripts/apply-patches.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index 908ce22..c741a63 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -54,8 +54,8 @@ for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do esac fi echo "" echo "Applying ${i} using ${type}: " - echo ${i} | cat >> ${builddir}/.applied_patches_list - ${uncomp} ${patchdir}/${i} ${uncomp_parm} | ${apply} ${builddir} + echo ${i} >> ${builddir}/.applied_patches_list + ${uncomp} "${patchdir}/${i}" ${uncomp_parm} | ${apply} "${builddir}" if [ $? != 0 ] ; then echo "Patch failed! Please fix $i!" exit 1