updated to scour the proper area with zapdirs.
[feisty_meow.git] / scripts / files / zapdirs.pl
index 8a3a23feafaab543ae92a3f7d89f1ff34b47abb8..9ca8cb390a112c7b886bafee6f6e9bfc2204b73e 100644 (file)
 
 require "zap_the_dir.pl";
 
+$DEV_NULL = "> /dev/null 2> /dev/null";
 #hmmm: move this to a useful location in a perl library.
 if ($OS eq "UNIX") {
   $FIND_ENDING = "';'";
-  $DEV_NULL = "> /dev/null"
 } elsif ( ($OS eq "DOS") || ($OS eq "Windows_95")
     || ($OS eq "Windows_98") || ($OS eq "Windows_NT") ) {
   $FIND_ENDING = "';'";
-  $DEV_NULL = "> nul"
 } else {
   die "The Operating System variable (OS) is not set.\n";
 }