瀏覽代碼

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>
Peter Korsgaard 12 年之前
父節點
當前提交
15ceab14b4
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      support/scripts/apply-patches.sh

+ 3 - 0
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