From: Holger Levsen Date: Thu, 23 Aug 2012 11:50:50 +0000 (+0200) Subject: move cache more carefully X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=34026bae6b78f9087d65a2331a9309d38410285f;p=profitbricks%2Fjenkins-build-scripts.git move cache more carefully --- diff --git a/liveboot_build.sh b/liveboot_build.sh index 13abc16..6b11f46 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -20,6 +20,7 @@ apt-get -y install debootstrap ldap-utils git clone git://git/ri/liveboot.git cd liveboot git checkout feature/jenkins +[ -d /srv/build/cache ] && mv /srv/build/cache . ./build.sh $BUILD_NUMBER EOF @@ -33,5 +34,4 @@ cd /srv/build/liveboot sudo mv cache .. cd .. sudo rm liveboot -Rf -sudo mkdir liveboot -sudo mv cache liveboot +