summaryrefslogtreecommitdiff
path: root/update.template
diff options
context:
space:
mode:
Diffstat (limited to 'update.template')
-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