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