Skip to content

Commit 0171355

Browse files
doc-hexdpgeorge
authored andcommitted
fetch_from_upstream.sh: Explicitly set LC_CTYPE=C.
1 parent 9153dc7 commit 0171355

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fetch_from_upstream.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ rm -rf $hal/Src
4141
cp -r $gitsrc/Drivers/${mcu}xx_HAL_Driver/Inc $hal/
4242
cp -r $gitsrc/Drivers/${mcu}xx_HAL_Driver/Src $hal/
4343

44+
# Make sure tr and exand don't expect UTF-8, because these files aren't
45+
export LC_CTYPE=C
46+
4447
for dir in $cmsis $hal; do
4548
# Process the new source code to:
4649
# - remove trailing white-space

0 commit comments

Comments
 (0)