X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ffiles%2Fzapdirs.pl;h=d64e5e510657104a05b2116c2f25b92149d9b3e5;hb=2a1d012416ed4c6ca1ccfdbdab5f50b163c59f91;hp=8a3a23feafaab543ae92a3f7d89f1ff34b47abb8;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/scripts/files/zapdirs.pl b/scripts/files/zapdirs.pl index 8a3a23fe..d64e5e51 100644 --- a/scripts/files/zapdirs.pl +++ b/scripts/files/zapdirs.pl @@ -21,14 +21,13 @@ require "zap_the_dir.pl"; +$DEV_NULL = "&>/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"; }