summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-04-16 18:02:53 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-16 23:19:08 +0200
commit7c717bbfffea0c55d348435e9b98e492b11b9177 (patch)
tree3a01737fa51af063f503a9e63e38ecf4f46e185f
parente530970c28ac1341613cc7a3605960e0373731b6 (diff)
downloadbuildroot-novena-7c717bbfffea0c55d348435e9b98e492b11b9177.tar.gz
buildroot-novena-7c717bbfffea0c55d348435e9b98e492b11b9177.zip
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 e4b98bc05..f82be8643 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