X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Ffiles%2Fzapdirs.pl;h=d69da8a0ee87718236c4eb889125eb3cdda2c500;hb=3f864e27a81cb09ae37e0331604a350c9d48c080;hp=d64e5e510657104a05b2116c2f25b92149d9b3e5;hpb=7292b72668557e9dfcff71eea9729cbd8b523c94;p=feisty_meow.git diff --git a/scripts/files/zapdirs.pl b/scripts/files/zapdirs.pl index d64e5e51..d69da8a0 100644 --- a/scripts/files/zapdirs.pl +++ b/scripts/files/zapdirs.pl @@ -21,12 +21,12 @@ require "zap_the_dir.pl"; -$DEV_NULL = "&>/dev/null" +$DEV_NULL = "> /dev/null 2> /dev/null"; #hmmm: move this to a useful location in a perl library. -if ($OS eq "UNIX") { +if ($OS == "UNIX") { $FIND_ENDING = "';'"; -} elsif ( ($OS eq "DOS") || ($OS eq "Windows_95") - || ($OS eq "Windows_98") || ($OS eq "Windows_NT") ) { +} elsif ( ($OS == "DOS") || ($OS == "Windows_95") + || ($OS == "Windows_98") || ($OS == "Windows_NT") ) { $FIND_ENDING = "';'"; } else { die "The Operating System variable (OS) is not set.\n";