From e5232b81649ef4d22ce04ebd5563bf627afc761e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 23 Aug 2012 13:25:28 +0200 Subject: [PATCH] use the force --- liveboot_build.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 2.39.5