improve artifact cleanup
diff --git a/releng.control/removeIf.sh b/releng.control/removeIf.sh
index 8f64523..6d88cf0 100644
--- a/releng.control/removeIf.sh
+++ b/releng.control/removeIf.sh
@@ -1,19 +1,31 @@
-#!/bin/sh
+#!/bin/bash
 
-if [ -n $1 ] 
-  then 
+# echo "arg: $1";
+
+if [ -z $1 ]
+  then
     echo "  This script requires an argument. " ;
     exit 1;
   fi
 
-$foundDirectory = $1;
-
+foundDirectory=$1
+# should already be in foundDirectory, if execDir used
 cd $foundDirectory
-
+// move up one so we can examine syblings
 cd ..
+currentDirectory=`pwd`
+echo $currentDirectory
+ndirs=`ls -lA | wc -l`
+ndirs=$ndirs - 1; # don't count the "totals" line
+# echo "NDirs: $ndirs"
 
-ndirs = `ls -l | wc -l`
-    
-echo "NDirs: $ndirs";
+# if only one left, do not remove it, no matter how old
+if [ $ndirs = 1 ]
+then
+    exit 0;
+fi
+# ok, it is old, and not the only one left
+rm -fr $foundDirectory
 
-    
\ No newline at end of file
+
+