diff --git a/scripts/ipkg-build b/scripts/ipkg-build index 32bc4b6d50..19df621048 100755 --- a/scripts/ipkg-build +++ b/scripts/ipkg-build @@ -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