------------------------------------------------------------ revno: 6275 committer: Diego Biurrun <diego@xxxxxxxxxx> branch nick: hipl timestamp: Wed 2012-02-01 18:11:40 +0100 message: autobuild: Only clean up scratchbox if the scratchbox directory exists. modified: tools/hipl_autobuild.sh -- lp:hipl https://code.launchpad.net/~hipl-core/hipl/trunk Your team HIPL core team is subscribed to branch lp:hipl. To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'tools/hipl_autobuild.sh' --- tools/hipl_autobuild.sh 2012-02-01 16:21:28 +0000 +++ tools/hipl_autobuild.sh 2012-02-01 17:11:40 +0000 @@ -112,7 +112,8 @@ rm -rf "$CHECKOUT_DIR" DEB_BUILD_FILES="hipl_[0-9.-]*_*.changes hipl-*_[0-9.]*.deb hipl_[0-9.-]*.dsc hipl_[0-9.-]*.tar.gz" cd "$CHECKOUT_DIR"/../ && rm -f $DEB_BUILD_FILES - cd "$SCRATCHBOX_HOME" && rm -rf log.txt hipl-[0-9.]*/ $DEB_BUILD_FILES + test -d "$SCRATCHBOX_HOME" && cd "$SCRATCHBOX_HOME" && + rm -rf log.txt hipl-[0-9.]*/ $DEB_BUILD_FILES exit $1 }