From 868df42ab97baecb7032fc576f3595dfc02674c5 Mon Sep 17 00:00:00 2001
From: Francois Charette <francois@archlinux.org>
Date: Tue, 21 Jul 2009 14:00:51 +0200
Subject: Very minor additions

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
---
 misc-scripts/ftpdir-cleanup | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'misc-scripts/ftpdir-cleanup')

diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index b28ec94..fc99c46 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -113,6 +113,7 @@ for arch in ${ARCHES[@]}; do
 
   #Make sure we've done *something* before outputting anything
   if [ -z "$DELETEFILES$DELETESYMLINKS$MISSINGFILES$EXTRAFILES" ]; then
+      echo "(nothing to do for $arch)"
       continue
   fi
 
@@ -180,7 +181,7 @@ if [ -d "$ftppath_base/any" ]; then
         #   teststring="$teststring -a ! -h $ftppath_base/$arch/$pkg"
         # done
         # teststring=$(echo $teststring | sed 's/^ -a//')
-        # if [ eval "$teststring" ]; then
+        # if [ $teststring ]; then
         if [ ! -h "$ftppath_base/i686/$pkg" -a ! -h "$ftppath_base/x86_64/$pkg" ]; then
             ARCHINDEPFILES="$ARCHINDEPFILES $pkg"
         fi
-- 
cgit v1.2.3-54-g00ecf