summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyokeun Jeon <hyokeun.jeon@samsung.com>2020-09-10 14:03:42 +0900
committerHyokeun Jeon <hyokeun.jeon@samsung.com>2020-09-10 14:04:08 +0900
commit5d05e7c56bae3be51b5e0a371d509883ecabd569 (patch)
treea573bafcb64cedbae7163a8a94fb2039126bf2d0
parentc1ff161f1289537c6194a01e586cc0728554e740 (diff)
downloadabs-5d05e7c56bae3be51b5e0a371d509883ecabd569.tar.gz
abs-5d05e7c56bae3be51b5e0a371d509883ecabd569.tar.bz2
abs-5d05e7c56bae3be51b5e0a371d509883ecabd569.zip
[ABS] Force clean all old rootstrap
Change-Id: If50d61dc034a34ec7029e236960e89197da5c881
-rw-r--r--update.template9
1 files changed, 2 insertions, 7 deletions
diff --git a/update.template b/update.template
index 7ac23b4..517cae3 100644
--- a/update.template
+++ b/update.template
@@ -43,13 +43,8 @@ fi
su - build -c "tizen list rootstrap"
su - build -c "tizen version"
-for pf in $PROFILE; do
- rm -rf $SDK_PATH/tools/smart-build-interface/plugins/${pf}-*.xml || true
- for tv in `ls $SDK_PATH/platforms/`; do
- rm -rf $SDK_PATH/platforms/${tv}/$pf/rootstraps/ || true
- done
-done
-
+rm -rf $SDK_PATH/tools/smart-build-interface/plugins/*-{device,emulator}*{private,public}.20*_*.xml || true
+rm -rf $SDK_PATH/platforms/*/*/rootstraps/ || true
rm -rf $SDK_PATH/.info/*private*
wget --no-proxy -P $SHARE_ROOT/ -r -nd -np -R index.html* ${ROOTSTRAP_URL}/ &> /dev/null