Skip to content

Commit

Permalink
use curl instead of wget so OSX is supported, fix #139
Browse files Browse the repository at this point in the history
  • Loading branch information
wwood committed Feb 21, 2015
1 parent 1f8c331 commit 7818b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/sequenceserver
Expand Up @@ -250,7 +250,9 @@ ERR
end

archive = File.join('/tmp', File.basename(url))
system "wget -c #{url} -O #{archive} && mkdir -p ~/.sequenceserver" \
# -ip4 is required to avoid this curl bug http://sourceforge.net/p/curl/bugs/1424/?limit=25
# see also https://github.com/yannickwurm/sequenceserver/issues/139
system "curl -ip4 -C - #{url} -o #{archive} && mkdir -p ~/.sequenceserver" \
"&& tar xvf #{archive} -C ~/.sequenceserver"
unless $CHILD_STATUS.success?
puts 'Failed to install BLAST+.'
Expand Down

0 comments on commit 7818b85

Please sign in to comment.