summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-06-12 23:01:46 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-12 23:01:46 +0200
commit15ceab14b4967711119587f0e7c3b324ce11fea8 (patch)
tree7e7dbd09b1407aa3e10e1b128b56be571c118a2e /support
parentd3e4db4e34927bff16c2ef06033304a068f46292 (diff)
downloadbuildroot-novena-15ceab14b4967711119587f0e7c3b324ce11fea8.tar.gz
buildroot-novena-15ceab14b4967711119587f0e7c3b324ce11fea8.zip
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>
Diffstat (limited to 'support')
-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 7d5856c65..2995ea997 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