fixed complaint during recustomize when nothing exists in custom yet.
[feisty_meow.git] / scripts / files / safedel.pl
index 2315464e1d150781f008b1727f3eb3834c186686..0fd25678045e95c10b5acef0852aec2bf64c578f 100644 (file)
@@ -91,6 +91,9 @@ sub safedel {
     if (substr($file, length($file) - 1, 1) eq ":") {
       die "removing the root directory of a drive is not permitted!";
     }
+
+#print "file to whack: '$file'\n";
+
     if ( ($file =~ /^.*\/\.$/) || ($file =~ /^.*\/\.\.$/) ) {
       print "ignoring attempt to remove current or parent directory.\n";
       next;