]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed file bug
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 18 Mar 2014 19:15:59 +0000 (19:15 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 18 Mar 2014 19:15:59 +0000 (19:15 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2295 74ccb610-7750-0410-82ae-013aeee3265d

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")