mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
locale/pick-complete-translations.py: use stable sort order for MANIFEST.in
This commit is contained in:
parent
0c867f908f
commit
eef237de85
1 changed files with 6 additions and 0 deletions
|
|
@ -79,7 +79,13 @@ with open(manifest_file, 'a') as fp:
|
|||
if line:
|
||||
fp.write(line)
|
||||
|
||||
# first filter duplicates
|
||||
subprocess.run(['sort', '-u', '-o', manifest_file, manifest_file])
|
||||
# then use a stable sort order
|
||||
subprocess.run(
|
||||
['sort', '--ignore-case', '--stable', '-o', manifest_file, manifest_file],
|
||||
env={'LC_ALL': 'C'},
|
||||
)
|
||||
|
||||
print('\tIf all else fails, try:')
|
||||
print('\tgit checkout -B merge_weblate weblate/master')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue