Explorar o código

apply-patches.sh: patch pattern was expanded prematurely

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>
Ludovic Desroches %!s(int64=13) %!d(string=hai) anos
pai
achega
7c717bbfff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      support/scripts/apply-patches.sh

+ 1 - 1
support/scripts/apply-patches.sh

@@ -87,7 +87,7 @@ function scan_patchdir {
     fi
     fi
 }
 }
 
 
-scan_patchdir $patchdir $patchpattern
+scan_patchdir "$patchdir" "$patchpattern"
 
 
 # Check for rejects...
 # Check for rejects...
 if [ "`find $builddir/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ] ; then
 if [ "`find $builddir/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ] ; then