Fix Transifex

- More verbose output
- add "stable" parameter to sort
- add LC_ALL=C parameter
This commit is contained in:
Philipp 2021-04-28 22:45:11 +02:00
parent e41283faff
commit 943f965f59
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
2 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,7 @@ KEYWORDS="-k -kt -ktt:1,2"
echo "Extract strings to $OUTFILE.."
rm "$OUTFILE"; touch "$OUTFILE"
find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f | sort)
find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f | LC_ALL=C sort --stable)
total_files=$(wc -l <<< "${find_result}")