projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new fortune.
[feisty_meow.git]
/
scripts
/
files
/
zapdirs.pl
diff --git
a/scripts/files/zapdirs.pl
b/scripts/files/zapdirs.pl
index 8a3a23feafaab543ae92a3f7d89f1ff34b47abb8..d69da8a0ee87718236c4eb889125eb3cdda2c500 100644
(file)
--- a/
scripts/files/zapdirs.pl
+++ b/
scripts/files/zapdirs.pl
@@
-21,14
+21,13
@@
require "zap_the_dir.pl";
require "zap_the_dir.pl";
+$DEV_NULL = "> /dev/null 2> /dev/null";
#hmmm: move this to a useful location in a perl library.
#hmmm: move this to a useful location in a perl library.
-if ($OS
eq
"UNIX") {
+if ($OS
==
"UNIX") {
$FIND_ENDING = "';'";
$FIND_ENDING = "';'";
- $DEV_NULL = "> /dev/null"
-} 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 = "';'";
$FIND_ENDING = "';'";
- $DEV_NULL = "> nul"
} else {
die "The Operating System variable (OS) is not set.\n";
}
} else {
die "The Operating System variable (OS) is not set.\n";
}