]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 183188: collectstats.pl no longer makes data/mining world-readable
authorjustdave%syndicomm.com <>
Fri, 13 Dec 2002 19:01:03 +0000 (19:01 +0000)
committerjustdave%syndicomm.com <>
Fri, 13 Dec 2002 19:01:03 +0000 (19:01 +0000)
patch by Christian Franke <Franke@computer.org>
r= bbaetz, justave   a= justdave

collectstats.pl

index 61e7cf2044e00adcce45dda70d74860d7b5f6bf2..5af4f45c3057240ceab9ef56a4c6adefb6fb4636 100755 (executable)
@@ -73,7 +73,7 @@ if (-s "data/duplicates.tmp") {
 sub check_data_dir {
     my $dir = shift;
 
-    if (! -d) {
+    if (! -d $dir) {
         mkdir $dir, 0777;
         chmod 0777, $dir;
     }