[Buildroot] [PATCH] apply-patches.sh: patch pattern was expanded prematurely

ludovic.desroches at atmel.com ludovic.desroches at atmel.com
Mon Apr 16 16:02:53 UTC 2012


From: Ludovic Desroches <ludovic.desroches at 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 at atmel.com>
---
 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
-- 
1.7.5.4




More information about the buildroot mailing list