mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
fix header processing on non en_US locales
This commit is contained in:
parent
b99f252a27
commit
b94177ebde
@ -435,7 +435,7 @@ fi # SKIP_THIRDPARTY
|
||||
echo "Building host-based tools..."
|
||||
|
||||
# Copy PEFBinaryFormat.h from Universal Interfaces, needed by MakePEF & MakeImport
|
||||
(export LANG=en; sed 's/\r$//' < "$CINCLUDES/PEFBinaryFormat.h" | tr '\r' '\n' > "toolchain/include/PEFBinaryFormat.h")
|
||||
(export LC_ALL=C; sed 's/\r$//' < "$CINCLUDES/PEFBinaryFormat.h" | tr '\r' '\n' > "toolchain/include/PEFBinaryFormat.h")
|
||||
|
||||
mkdir -p build-host
|
||||
cd build-host
|
||||
|
@ -2,7 +2,7 @@ IN=$1
|
||||
OUT=$2
|
||||
|
||||
# Make Mac OS X's tr and sed not complain that the files are not UTF-8
|
||||
export LANG=en
|
||||
export LC_ALL=C
|
||||
|
||||
for file in $(cd $IN; ls *.h); do
|
||||
# Filter by file names.
|
||||
|
@ -2,7 +2,7 @@ IN=$1
|
||||
OUT=$2
|
||||
|
||||
# Make Mac OS X's tr and sed not complain that the files are not UTF-8
|
||||
export LANG=en
|
||||
export LC_ALL=C
|
||||
|
||||
# cp $IN/[A-Z]*.r $OUT/
|
||||
for file in $(cd $IN; ls [A-Z]*.r); do
|
||||
|
Loading…
Reference in New Issue
Block a user