[Groonga-commit] ranguba/ranguba at f3afaa5 [master] indexer: follow wget output change

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 17 21:40:42 JST 2014


Kouhei Sutou	2014-02-17 21:40:42 +0900 (Mon, 17 Feb 2014)

  New Revision: f3afaa5e416c0eb294bf2e0ae6851fd490b934dc
  https://github.com/ranguba/ranguba/commit/f3afaa5e416c0eb294bf2e0ae6851fd490b934dc

  Message:
    indexer: follow wget output change
    
        Saving to: `...'
        Saving to: '...'
                   ^
    
    We want to drop wget...

  Modified files:
    lib/ranguba/indexer.rb

  Modified: lib/ranguba/indexer.rb (+1 -1)
===================================================================
--- lib/ranguba/indexer.rb    2013-10-15 17:35:10 +0900 (e0a97f8)
+++ lib/ranguba/indexer.rb    2014-02-17 21:40:42 +0900 (806df5c)
@@ -214,7 +214,7 @@ EOS
         if response = log[/^(?:  .*\n)+/]
           response = Hash[response.lines.grep(/^\s*([-A-Za-z0-9]+):\s*(.*)$/) {[$1.downcase, $2]}]
         end
-        file = log[/^Saving to: \`(.+)\'$/, 1]
+        file = log[/^Saving to: [`'](.+)[`']$/, 1]
         next unless file      # failed to start download
         path = File.join(base, file.gsub(/\\'/, "'"))
         response ||= {}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index