diff mbox

apply-patches.sh: patch pattern was expanded prematurely

Message ID 1334592173-12495-1-git-send-email-ludovic.desroches@atmel.com
State Accepted
Headers show

Commit Message

ludovic.desroches@atmel.com April 16, 2012, 4:02 p.m. UTC
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(-)

Comments

ludovic.desroches@atmel.com April 16, 2012, 4:07 p.m. UTC | #1
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. UTC | #2
>>>>> "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.
diff mbox

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