]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
delete repository before cloning it again
authorHolger Levsen <holger@layer-acht.org>
Thu, 20 Sep 2012 10:09:26 +0000 (12:09 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 20 Sep 2012 10:09:26 +0000 (12:09 +0200)
liveboot_build.sh

index 52dd6704894ec0de38237deeaa2d823d43b374b7..2a5406577e3530306824ace58f0ca35243e6c41a 100755 (executable)
@@ -29,6 +29,7 @@ RSYNC_DST5="liveboot@10.1.1.1/liveboot/"
 BUILD_SCRIPT=$(mktemp)
 cat > $BUILD_SCRIPT <<-EOF
 cd /srv/build
+rm liveboot -rf
 git clone git://git/ri/liveboot.git
 cd liveboot
 git checkout $GIT_BRANCH