From: Ludovic Desroches Date: Mon, 16 Apr 2012 16:02:53 +0000 (+0200) Subject: apply-patches.sh: patch pattern was expanded prematurely X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c717bbfffea0c55d348435e9b98e492b11b9177;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index e4b98bc057..f82be8643d 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