summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
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