apply-patches.sh: patch pattern was expanded prematurely
authorLudovic Desroches <ludovic.desroches@atmel.com>
Mon, 16 Apr 2012 16:02:53 +0000 (18:02 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 16 Apr 2012 21:19:08 +0000 (23:19 +0200)
The patch pattern was expanded before being into the patch directory so the
expansion can add incorrect files.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/scripts/apply-patches.sh

index e4b98bc0575dcc7be2a00f4234d0f12a7c9aff0a..f82be8643d7e94ac47d04e21118144c444e336e8 100755 (executable)
@@ -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