From: Holger Levsen Date: Thu, 21 Jun 2012 13:17:42 +0000 (+0200) Subject: be more verbose X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=f96bb5ed8396799d8188365df4e17cec619fcfb8;p=profitbricks%2Fjenkins-build-scripts.git be more verbose --- diff --git a/live_build.sh b/live_build.sh index 0fdd29e..d6bb393 100755 --- a/live_build.sh +++ b/live_build.sh @@ -42,8 +42,10 @@ cd /srv/mirror/live-build/ COUNT=0 for i in $(ls -artd1 ./${LIVE_TYPE}-*) ; do let COUNT=COUNT+1 - if [ $COUNT > 2 ] ; then + if [ $COUNT -gt 2 ] ; then echo "would rm -rf $i" + else + echo "would keep $i" fi done