Commit 15ceab14 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

apply-patches.sh: ensure a fixed (and simple) sorting order is used



So we always apply patches in the samme order.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent d3e4db4e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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