mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(佐々木@PSEG1)大文字のファイル名に対応
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2277 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
adead5f1b9
commit
bb81fe0273
@ -18,11 +18,11 @@ require "find"
|
|||||||
require "fileutils"
|
require "fileutils"
|
||||||
|
|
||||||
REGION_DIR = {
|
REGION_DIR = {
|
||||||
"u" => ["aus"],
|
"U" => ["aus"],
|
||||||
"e" => ["usa"],
|
"E" => ["usa"],
|
||||||
"j" => ["jp"],
|
"J" => ["jp"],
|
||||||
"p" => ["euro"],
|
"P" => ["euro"],
|
||||||
"a" => ["aus", "usa", "jp", "euro"],
|
"A" => ["aus", "usa", "jp", "euro"],
|
||||||
}
|
}
|
||||||
|
|
||||||
def proc(target_dir, output_dir)
|
def proc(target_dir, output_dir)
|
||||||
|
|||||||
@ -40,10 +40,10 @@ mkdir $tmp
|
|||||||
|
|
||||||
find ../$1 -name "*.out" -exec cp {} $tmp \;
|
find ../$1 -name "*.out" -exec cp {} $tmp \;
|
||||||
|
|
||||||
find $tmp -name "*[ja]-v0*.out" | gawk -F/ '{printf("cp %s jp/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > jp.sh
|
find $tmp -name "*[jaJA]-v0*.out" | gawk -F/ '{printf("cp %s jp/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > jp.sh
|
||||||
find $tmp -name "*[ua]-v0*.out" | gawk -F/ '{printf("cp %s aus/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > aus.sh
|
find $tmp -name "*[uaUA]-v0*.out" | gawk -F/ '{printf("cp %s aus/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > aus.sh
|
||||||
find $tmp -name "*[pa]-v0*.out" | gawk -F/ '{printf("cp %s euro/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > euro.sh
|
find $tmp -name "*[paPA]-v0*.out" | gawk -F/ '{printf("cp %s euro/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > euro.sh
|
||||||
find $tmp -name "*[ea]-v0*.out" | gawk -F/ '{printf("cp %s usa/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > usa.sh
|
find $tmp -name "*[eaEA]-v0*.out" | gawk -F/ '{printf("cp %s usa/%s\n",$0, $2)}' | sed -e 's/\.out$//g' > usa.sh
|
||||||
|
|
||||||
./jp.sh
|
./jp.sh
|
||||||
./aus.sh
|
./aus.sh
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user