From dae39dfe27ac718e86fbd58623e25c64e642ee18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Tue, 29 May 2018 13:56:37 +0200 Subject: [PATCH] Xapian not indexing repository if project configuration is blank #857 --- extra/xapian_indexer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/xapian_indexer.rb b/extra/xapian_indexer.rb index fc5164be..3af77788 100644 --- a/extra/xapian_indexer.rb +++ b/extra/xapian_indexer.rb @@ -113,7 +113,7 @@ optparse = OptionParser.new do |opts| opts.separator('') opts.separator('Options:') opts.on('-s', '--stemming_lang a,b,c', Array,'Comma separated list of stemming languages for indexing') { |s| $stem_langs = s } - opts.on('-v', '--verbose', 'verbose') {$verbose += 1}} + opts.on('-v', '--verbose', 'verbose') {$verbose += 1} opts.on('-e', '--environment ENV', 'Rails ENVIRONMENT (development, testing or production), default production') { |e| $env = e} opts.on('-t', '--temp-dir PATH', 'Temporary directory for indexing'){ |t| $tempdir = t } opts.on('-V', '--version', 'show version and exit') { puts VERSION; exit}