summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-04-10 23:35:23 +0200
committerGitHub <noreply@github.com>2018-04-10 23:35:23 +0200
commit8ba7aa6be8fb5689634c453fd505822d02f586a6 (patch)
tree6b3026bfc5302fdb453ae008e9101682c91b8740 /scripts
parentd427f996e5248e0dcb8d6a83b8234bd12d674b98 (diff)
downloadbugzilla-8ba7aa6be8fb5689634c453fd505822d02f586a6.tar.gz
bugzilla-8ba7aa6be8fb5689634c453fd505822d02f586a6.tar.xz
Bug 1453126 - Bugzilla::Bloomfilter should encourage preserving the input files for its filters
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bloomfilter-populate.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/bloomfilter-populate.pl b/scripts/bloomfilter-populate.pl
index c591a61b3..780e98bd0 100755
--- a/scripts/bloomfilter-populate.pl
+++ b/scripts/bloomfilter-populate.pl
@@ -14,8 +14,6 @@ use Bugzilla::Bloomfilter;
# set Bugzilla usage mode to USAGE_MODE_CMDLINE
Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
-my $name = shift @ARGV or die "usage: $0 \$name < list\n";
-my @lines = <STDIN>;
-chomp @lines;
-Bugzilla::Bloomfilter->populate($name, \@lines);
+my $name = shift @ARGV or die "usage: $0 \$name\n";
+Bugzilla::Bloomfilter->populate($name);