lib/vx/builder/script_builder/cache.rb in vx-builder-0.4.0 vs lib/vx/builder/script_builder/cache.rb in vx-builder-0.5.0
- old
+ new
@@ -61,10 +61,10 @@
def prepare(env)
cmd = %{
export CASHER_DIR=$HOME/.casher &&
( mkdir -p $CASHER_DIR/bin &&
- /usr/bin/curl #{CASHER_URL} -s -o #{CASHER_BIN} &&
+ /usr/bin/curl #{CASHER_URL} --tcp-nodelay --retry 3 --fail --silent --show-error -o #{CASHER_BIN} &&
chmod +x #{CASHER_BIN} ) ||
true
}.gsub(/\n/, ' ').gsub(/ +/, ' ')
env.init << cmd
end