From ea034553305c4932a2b61719739ad4a3b13e1218 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 18 Mar 2014 19:15:59 +0000 Subject: [PATCH] fixed file bug git-svn-id: http://biopieces.googlecode.com/svn/trunk@2295 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/filesys.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_ruby/lib/maasha/filesys.rb b/code_ruby/lib/maasha/filesys.rb index ff5c4ef..16a6866 100644 --- a/code_ruby/lib/maasha/filesys.rb +++ b/code_ruby/lib/maasha/filesys.rb @@ -58,7 +58,7 @@ class Filesys if file == '-' ios = STDIN else - case `file -L #{file}` + case `file -Lk #{file}` when /gzip/ puts "GZIP" ios = IO.popen("gzip -cd #{file}", :external_encoding=>"EUC-JP") -- 2.39.2