summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-06-12 21:01:46 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-06-12 21:01:46 (GMT)
commit15ceab14b4967711119587f0e7c3b324ce11fea8 (patch)
tree7e7dbd09b1407aa3e10e1b128b56be571c118a2e
parentd3e4db4e34927bff16c2ef06033304a068f46292 (diff)
downloadbuildroot-15ceab14b4967711119587f0e7c3b324ce11fea8.tar.gz
buildroot-15ceab14b4967711119587f0e7c3b324ce11fea8.tar.bz2
apply-patches.sh: ensure a fixed (and simple) sorting order is used
So we always apply patches in the samme order. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rwxr-xr-xsupport/scripts/apply-patches.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh
index 7d5856c..2995ea9 100755
--- a/support/scripts/apply-patches.sh
+++ b/support/scripts/apply-patches.sh
@@ -34,6 +34,9 @@ patchdir=${2-../kernel-patches}
shift 2
patchpattern=${@-*}
+# use a well defined sorting order
+export LC_COLLATE=C
+
if [ ! -d "${builddir}" ] ; then
echo "Aborting. '${builddir}' is not a directory."
exit 1