Commit bc32ed98 authored by Ryan Jacobs's avatar Ryan Jacobs

fix wget warning: -N has no affect when using -O

Exact warning follows, WARNING:timestamping does nothing in combonation with -O
parent 1f02e793
......@@ -153,7 +153,7 @@ def download
sha1sum = @pkg.binary_sha1[@device[:architecture]]
end
Dir.chdir CREW_BREW_DIR do
system('wget', '-N', '--continue', '--content-disposition', '--no-check-certificate', '-N', url, '-O', filename)
system('wget', '--continue', '--content-disposition', '--no-check-certificate', '-N', url, '-O', filename)
abort 'Checksum mismatch :/ try again' unless Digest::SHA1.hexdigest( File.read("./#{filename}") ) == sha1sum
end
puts "Archive downloaded"
......
......@@ -39,7 +39,7 @@ case "$architecture" in
;;
esac
wget -N --continue --no-check-certificate --content-disposition $link -O $tarname
wget --continue --no-check-certificate --content-disposition $link -O $tarname
#extract and install ruby
echo "Extracting ruby (this may take a while)..."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment