OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
3070731
)
Merge pull request #2378 from habu1010/feature/refactor-monster-race-bounty
author
Habu
<habu1010+github@gmail.com>
Sun, 6 Mar 2022 01:35:40 +0000
(10:35 +0900)
committer
GitHub
<noreply@github.com>
Sun, 6 Mar 2022 01:35:40 +0000
(10:35 +0900)
[Refactor] 賞金首関連のコードの整理
src/gcc-wrap
patch
|
blob
|
history
diff --git
a/src/gcc-wrap
b/src/gcc-wrap
index
8662d0e
..
524e9f9
100755
(executable)
--- a/
src/gcc-wrap
+++ b/
src/gcc-wrap
@@
-5,7
+5,7
@@
jp=$(grep "#define JP" autoconf.h | wc -l)
if test $jp -eq 1; then
# Prepare the various file paths.
eval SRC_FILE=\${$#}
- OBJ_FILE=$(
dirname $SRC_FILE)/$(basename $SRC_FILE .cpp).o
+ OBJ_FILE=$(
echo $SRC_FILE | sed -E 's/\..+$/\.o/')
SRC_DIR=$(
cd $(dirname $0)
pwd