Skip to content

Commit 2d70587

Browse files
committed
Build: Use LC_ALL='C' when sorting.
1 parent 5c67ed2 commit 2d70587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/release/prepare-release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ git whatchanged $version... --pretty=format:"$format_full" \
8080
| sed '/^:/ d' \
8181
| sed '/^$/ d' \
8282
| sed 's/\(Fixe[sd] #\)\([0-9][0-9]*\)\(.*\)\(XXXX #XXXX\)/Fixed #\2\3\2 #\2/' \
83-
| sort -f \
83+
| LC_ALL='C' sort -f \
8484
>> $base_dir/changelog
8585

8686
# find all fixed tickets
@@ -118,7 +118,7 @@ $remote_cmd/generate-contributors >> $base_dir/thankyou
118118

119119
# sort names
120120
echo "Sorting contributors..."
121-
sort -f $base_dir/thankyou | uniq > $base_dir/_thankyou
121+
LC_ALL='C' sort -f $base_dir/thankyou | uniq > $base_dir/_thankyou
122122
mv $base_dir/_thankyou $base_dir/thankyou
123123

124124
# find all people that were thanked

0 commit comments

Comments
 (0)