]> 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:02:26 +0000 (19:02 +0000)
committerjustdave%syndicomm.com <>
Fri, 13 Dec 2002 19:02:26 +0000 (19:02 +0000)
patch by Christian Franke <Franke@computer.org>
r= bbaetz, justave   a= justdave

collectstats.pl

index 4e69ab9b5fb123b140282abb036078bba6ca4b71..2a29bb9f5c4ef1b2e826c731dd2deec1d08751ba 100755 (executable)
@@ -57,7 +57,7 @@ foreach (@myproducts) {
 sub check_data_dir {
     my $dir = shift;
 
-    if (! -d) {
+    if (! -d $dir) {
         mkdir $dir, 0777;
         chmod 0777, $dir;
     }