From 7a36eebdb5c7ff1bd4cbdb8411d04c06a00222b0 Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Sat, 12 Feb 2011 20:14:26 +0000
Subject: [PATCH] improve daily cleanup scripts

---
 releng.control/removeUtils.shsource | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/releng.control/removeUtils.shsource b/releng.control/removeUtils.shsource
index 5d48f37b0..e4b98d031 100644
--- a/releng.control/removeUtils.shsource
+++ b/releng.control/removeUtils.shsource
@@ -23,7 +23,7 @@ function removeIf ()
        
        rm -fr $foundDirectory
        rc=$?
-       if [ rc -eq 0 ]
+       if [ $rc -eq 0 ]
        then 
          echo "               removed: $foundDirectory";
        else
@@ -83,7 +83,7 @@ function removeArtifactsDirIf ()
        
        rm -fr $foundDirectory
        rc=$?
-       if [ rc -eq 0 ]
+       if [ $rc -eq 0 ]
        then 
          echo "               removed: $foundDirectory";
        else
-- 
GitLab