From 15ceab14b4967711119587f0e7c3b324ce11fea8 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 12 Jun 2013 23:01:46 +0200 Subject: [PATCH] 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 --- support/scripts/apply-patches.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index 7d5856c65d..2995ea9972 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