mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-15 12:24:39 +00:00
dont use asm-processor, use iconv for reencoding utf8 to eucjp
This commit is contained in:
parent
155ad4f59f
commit
1716be6696
3 changed files with 16 additions and 4 deletions
11
tools/reencode.sh
Executable file
11
tools/reencode.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
srcfile="${@: -1}"
|
||||
|
||||
tempfile=`mktemp --tmpdir oot_XXXXXXXX.c`
|
||||
|
||||
iconv -f UTF-8 -t EUC-JP -o "$tempfile" "$srcfile"
|
||||
|
||||
"${@:1:$# - 1}" -I `dirname $srcfile` $tempfile
|
Loading…
Add table
Add a link
Reference in a new issue