projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc5ba2d
)
stopped printing debug noise
author
Chris Koeritz
<fred@gruntose.com>
Sat, 4 Nov 2017 20:34:13 +0000
(16:34 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 4 Nov 2017 20:34:13 +0000
(16:34 -0400)
scripts/files/safedel.pl
patch
|
blob
|
history
diff --git
a/scripts/files/safedel.pl
b/scripts/files/safedel.pl
index 0fd25678045e95c10b5acef0852aec2bf64c578f..b34e852feb770f226f41c1f5ce55bf0f776b3477 100644
(file)
--- a/
scripts/files/safedel.pl
+++ b/
scripts/files/safedel.pl
@@
-24,7
+24,7
@@
require "filename_helper.pl";
require "inc_num.pl";
require "zap_the_dir.pl";
-use Env qw(TMP OS);
+use Env qw(TMP OS
SHELL_DEBUG
);
#hmmm: need a usage statement.
@@
-132,7
+132,9
@@
sub safedel {
}
}
if (@deleted) {
- print "Trashed [@deleted].\n";
+ if ($SHELL_DEBUG != "") {
+ print "Trashed [@deleted].\n";
+ }
open(REPORT, ">>$TMP/zz_safedel_report.txt");
local($printable_date) = scalar(localtime());