OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #1503 from Hourier/feature/Remove-Type-Aliases-Alpha38
[hengbandforosx/hengbandosx.git]
/
src
/
gcc-wrap
1
#!/bin/sh
2
3
jp=`grep "#define JP" autoconf.h | wc -l`
4
5
if test $jp -eq 1; then
6
eval src_file=\${$#}
7
8
trap '' INT
9
backup=`mktemp tmp.XXXXXX`
10
mv $src_file $backup
11
nkf -e $backup > $src_file
12
$@
13
mv $backup $src_file
14
else
15
$@
16
fi