From: Holger Levsen Date: Thu, 23 Aug 2012 11:25:28 +0000 (+0200) Subject: use the force X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=e5232b81649ef4d22ce04ebd5563bf627afc761e;p=profitbricks%2Fjenkins-build-scripts.git use the force --- diff --git a/liveboot_build.sh b/liveboot_build.sh index a17dc49..13abc16 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -25,11 +25,13 @@ EOF sudo pbuilder --execute --bindmounts /srv/build/ -- $BUILD_SCRIPT + +# FIXME: too much sudo here... cd /srv/build/liveboot/builds -mv *-* /srv/mirror/liveboot +sudo mv *-* /srv/mirror/liveboot cd /srv/build/liveboot -mv cache .. +sudo mv cache .. cd .. -rm liveboot -Rf -mkdir liveboot -mv cache liveboot +sudo rm liveboot -Rf +sudo mkdir liveboot +sudo mv cache liveboot