mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 11:29:49 +01:00
scripts: make sure sort-order is independent from locale
Set LC_ALL=C environment variable when calling 'sort' as the sort order otherwise depends on the locale set. Fixes:56ce110b73("scripts: make sure conffiles are sorted") Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit1d77dca3b3)
This commit is contained in:
parent
bb8300069b
commit
0877953235
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ pkg_appears_sane() {
|
|||
|
||||
rm "$CONTROL"/conffiles
|
||||
if [ -f "$CONTROL"/conffiles.resolved ]; then
|
||||
sort -o "$CONTROL"/conffiles "$CONTROL"/conffiles.resolved
|
||||
LC_ALL=C sort -o "$CONTROL"/conffiles "$CONTROL"/conffiles.resolved
|
||||
rm "$CONTROL"/conffiles.resolved
|
||||
chmod 0644 "$CONTROL"/conffiles
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue