]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/filesys.rb
fixed file bug
[biopieces.git] / code_ruby / lib / maasha / filesys.rb
index ff5c4eff0f538ba7a7201179121f063c2bdb5124..16a686676aa508913aec0c031eede00041ca115f 100644 (file)
@@ -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")