null+****@clear*****
null+****@clear*****
Fri Apr 27 19:15:04 JST 2012
SUZUKI Miho 2012-04-27 19:15:04 +0900 (Fri, 27 Apr 2012) New Revision: c4767caca9bb12801adc791cfaec99430c9a95a3 Log: change file path to full path Modified files: lib/logaling/command/application.rb Modified: lib/logaling/command/application.rb (+5 -1) =================================================================== --- lib/logaling/command/application.rb 2012-04-27 18:10:10 +0900 (84190a7) +++ lib/logaling/command/application.rb 2012-04-27 19:15:04 +0900 (1547738) @@ -423,8 +423,12 @@ module Logaling::Command def initialize_import_parameter(arr) glossary_info = {} + url = arr[1] + if url && !URI.parse(url).host + url = File::expand_path(url) + end glossary_info[:name] = arr[0] - glossary_info[:url] = arr[1] + glossary_info[:url] = url glossary_info[:source_language] = arr[2] glossary_info[:target_language] = arr[3] glossary_info