mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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>
This commit is contained in:
parent
d3e4db4e34
commit
15ceab14b4
@ -34,6 +34,9 @@ patchdir=${2-../kernel-patches}
|
|||||||
shift 2
|
shift 2
|
||||||
patchpattern=${@-*}
|
patchpattern=${@-*}
|
||||||
|
|
||||||
|
# use a well defined sorting order
|
||||||
|
export LC_COLLATE=C
|
||||||
|
|
||||||
if [ ! -d "${builddir}" ] ; then
|
if [ ! -d "${builddir}" ] ; then
|
||||||
echo "Aborting. '${builddir}' is not a directory."
|
echo "Aborting. '${builddir}' is not a directory."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user