Kaynağa Gözat

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 13 yıl önce
ebeveyn
işleme
7c717bbfff
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      support/scripts/apply-patches.sh

+ 1 - 1
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