OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[Refactor] #37285 Reshaped monster-race-hook.c and one-monster-placer.c
[hengband/hengband.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