apply-patches.sh: ensure a fixed (and simple) sorting order is used
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 12 Jun 2013 21:01:46 +0000 (23:01 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 12 Jun 2013 21:01:46 +0000 (23:01 +0200)
So we always apply patches in the samme order.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/scripts/apply-patches.sh

index 7d5856c65dfe94f65ab95205091017bf1e9363d2..2995ea9972da0a71fde23fa5b3281ea6bdb188f7 100755 (executable)
@@ -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