From db25769fabddc1ea4aad38b6a05598cf23f2fab1 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@b08762b0-b915-fc4b-9d8c-17b2551a87ff> Date: Wed, 27 Aug 2008 02:15:20 +0000 Subject: [PATCH] =?UTF-8?q?(=E4=BD=90=E3=80=85=E6=9C=A8@PSEG1)cls.sh?= =?UTF-8?q?=E3=81=AE=E4=B8=8D=E5=85=B7=E5=90=88=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20v256,v1024=20=E7=AD=89=E3=81=8C=E5=85=A5=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=A6=E3=82=82=E6=AD=A3=E5=B8=B8=E3=81=AB=E5=8B=95=E4=BD=9C?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=20=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E5=90=8D=E3=81=8Cv0=5F=E7=AD=89?= =?UTF-8?q?=E3=81=A7=E3=82=82=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=8C=E5=87=BA?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= 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@2283 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tests/CustomSystemUpdater/work/cls.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/tests/CustomSystemUpdater/work/cls.sh b/build/tests/CustomSystemUpdater/work/cls.sh index 6ce0e27f..93509668 100755 --- a/build/tests/CustomSystemUpdater/work/cls.sh +++ b/build/tests/CustomSystemUpdater/work/cls.sh @@ -20,7 +20,7 @@ move_data_to_tmp() { tmp=tmp/$1 install -d $tmp - for src in `find $1 -name v*` + for src in `find $1 -name v* -type d` do mv $src $tmp done @@ -28,7 +28,7 @@ move_data_to_tmp() { do_cls() { tmp=tmp/$1 - for target in `find $tmp -name v*` + for target in `find $tmp -name v* -type d | sort -t "v" -g -k 2` do cp -rp $target $1 echo "$target" @@ -43,4 +43,5 @@ do do_cls $name done + rm -rf tmp