projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3e4db4
)
apply-patches.sh: ensure a fixed (and simple) sorting order is used
author
Peter Korsgaard
<jacmet@sunsite.dk>
Wed, 12 Jun 2013 21:01:46 +0000
(23:01 +0200)
committer
Peter 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
patch
|
blob
|
history
diff --git
a/support/scripts/apply-patches.sh
b/support/scripts/apply-patches.sh
index 7d5856c65dfe94f65ab95205091017bf1e9363d2..2995ea9972da0a71fde23fa5b3281ea6bdb188f7 100755
(executable)
--- 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