From: Holger Levsen Date: Thu, 20 Sep 2012 10:09:26 +0000 (+0200) Subject: delete repository before cloning it again X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=68a0b9ac2689c94c36d38fd6a5fd3d09e057dfe0;p=profitbricks%2Fjenkins-build-scripts.git delete repository before cloning it again --- diff --git a/liveboot_build.sh b/liveboot_build.sh index 52dd670..2a54065 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -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