From: Holger Levsen Date: Fri, 14 Sep 2012 11:26:32 +0000 (+0200) Subject: use the force X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=3a113c8a49b2c96cdbc3adc12ee9d66d7cb94ea2;p=profitbricks%2Fjenkins-build-scripts.git use the force --- diff --git a/liveboot_build.sh b/liveboot_build.sh index 298321c..3652ada 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -54,7 +54,7 @@ COUNT=0 for i in $(ls -atd1 ./liveboot-*) ; do let COUNT=COUNT+1 if [ $COUNT -gt $MAX ] ; then - rm -rfv $i + sudo rm -rfv ./$i else echo "keeping $i" fi