From 0883c669a5607f4d7572fbc8f594aa40a086c8b1 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@b08762b0-b915-fc4b-9d8c-17b2551a87ff> Date: Sat, 30 Aug 2008 06:41:46 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9C=AB=E5=B0=BE=E3=81=AE/=E3=81=AE=E5=85=A5?= =?UTF-8?q?=E5=8A=9B=E3=81=AB=E3=82=82=E5=AF=BE=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2342 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tests/CustomSystemUpdater/work/toaqua.rb | 2 +- build/tests/CustomSystemUpdater/work/tocls.sh | 5 ++++- build/tests/CustomSystemUpdater/work/tocsu.sh | 8 ++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/build/tests/CustomSystemUpdater/work/toaqua.rb b/build/tests/CustomSystemUpdater/work/toaqua.rb index a903804a..b38f7a14 100755 --- a/build/tests/CustomSystemUpdater/work/toaqua.rb +++ b/build/tests/CustomSystemUpdater/work/toaqua.rb @@ -71,7 +71,7 @@ if ARGV.size < 1 $stdout.printf("Usage:#{__FILE__} target_clsed_dir output_dir") exit -1 end -src = ARGV[0] +src = ARGV[0].sub(/\/\z/, "") out = "#{src}_foraqua" system("mkdir #{out}") system("mkdir #{out}/aus") diff --git a/build/tests/CustomSystemUpdater/work/tocls.sh b/build/tests/CustomSystemUpdater/work/tocls.sh index b375cfce..b7725bb5 100755 --- a/build/tests/CustomSystemUpdater/work/tocls.sh +++ b/build/tests/CustomSystemUpdater/work/tocls.sh @@ -24,7 +24,10 @@ then exit fi -target=$1_forcls +target=`echo $1 | sed -e 's/\/$//'` +target=$target"_forcls" +echo $target + mkdir $target cd $target find ../$1 -name "*.tad" -exec ../mkcls.py {} \; diff --git a/build/tests/CustomSystemUpdater/work/tocsu.sh b/build/tests/CustomSystemUpdater/work/tocsu.sh index 0c8621df..c4d9ea7d 100755 --- a/build/tests/CustomSystemUpdater/work/tocsu.sh +++ b/build/tests/CustomSystemUpdater/work/tocsu.sh @@ -26,8 +26,12 @@ then fi -target=$1_forcsu -tmp=$1_tmp +target=`echo $1 | sed -e 's/\/$//'` +target=$target"_forcsu" +echo $target + + +tmp=`echo $1 | sed -e 's/\/$//'`_tmp mkdir $target cd $target