]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
use the force
authorHolger Levsen <holger@layer-acht.org>
Thu, 23 Aug 2012 11:25:28 +0000 (13:25 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 23 Aug 2012 11:25:28 +0000 (13:25 +0200)
liveboot_build.sh

index a17dc4953960f1b8d2f508b0618fca8896bb017e..13abc167d747e7288fdcc566e3e241fdae59c6ca 100755 (executable)
@@ -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