summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-04-16 16:02:53 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-04-16 21:19:08 (GMT)
commit7c717bbfffea0c55d348435e9b98e492b11b9177 (patch)
tree3a01737fa51af063f503a9e63e38ecf4f46e185f
parente530970c28ac1341613cc7a3605960e0373731b6 (diff)
downloadbuildroot-7c717bbfffea0c55d348435e9b98e492b11b9177.tar.gz
buildroot-7c717bbfffea0c55d348435e9b98e492b11b9177.tar.bz2
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>
-rwxr-xr-xsupport/scripts/apply-patches.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
index e4b98bc..f82be86 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