]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
delete link before setting it
authorHolger Levsen <holger@layer-acht.org>
Fri, 14 Dec 2012 11:15:08 +0000 (12:15 +0100)
committerHolger Levsen <holger@layer-acht.org>
Fri, 14 Dec 2012 11:15:08 +0000 (12:15 +0100)
liveboot_testdeploy.sh

index f87c6e2be3f8a620b5b1e47fd8f9f813c7e4762a..22e2536dd907c8ed2f7fdd68549433e03de4add8 100755 (executable)
@@ -45,8 +45,9 @@ fi
 # create pending-approval link and rsync again
 #
 cd /srv/mirror/liveboot
+rm -f pending-approval
 ln -sfv $(basename $SOURCE_DIR) pending-approval
-echo "pending-approval link creating, pointing to $SOURCE_DIR"
+echo "pending-approval link created, pointing to $SOURCE_DIR"
 $(dirname $0)/liveboot_rsync.sh
 
 #