From f96bb5ed8396799d8188365df4e17cec619fcfb8 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 21 Jun 2012 15:17:42 +0200 Subject: [PATCH] be more verbose --- live_build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5