From 68a0b9ac2689c94c36d38fd6a5fd3d09e057dfe0 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 20 Sep 2012 12:09:26 +0200 Subject: [PATCH] delete repository before cloning it again --- liveboot_build.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5