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>
This commit is contained in:
Ludovic Desroches 2012-04-16 18:02:53 +02:00 committed by Peter Korsgaard
parent e530970c28
commit 7c717bbfff

View File

@ -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