Patchwork apply-patches.sh: patch pattern was expanded prematurely

login
register
mail settings
Submitter ludovic.desroches@atmel.com
Date April 16, 2012, 4:02 p.m.
Message ID <1334592173-12495-1-git-send-email-ludovic.desroches@atmel.com>
Download mbox | patch
Permalink /patch/152914/
State Accepted
Headers show

Comments

ludovic.desroches@atmel.com - April 16, 2012, 4:02 p.m.
From: Ludovic Desroches <ludovic.desroches@atmel.com>

The patch pattern was expanded before being into the patch directory so the
expansion add incorrect files.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
 support/scripts/apply-patches.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
ludovic.desroches@atmel.com - April 16, 2012, 4:07 p.m.
Le 04/16/2012 06:02 PM, ludovic.desroches@atmel.com a écrit :
> From: Ludovic Desroches<ludovic.desroches@atmel.com>
>
> The patch pattern was expanded before being into the patch directory so the
> expansion add incorrect files.
>

sorry for the typo: the expansion can add incorrect files.

Regards

Ludovic
Peter Korsgaard - April 16, 2012, 9:19 p.m.
>>>>> "ludovic" == ludovic desroches <ludovic.desroches@atmel.com> writes:

 ludovic> From: Ludovic Desroches <ludovic.desroches@atmel.com> The
 ludovic> patch pattern was expanded before being into the patch
 ludovic> directory so the expansion add incorrect files.

Committed, thanks.

Patch

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