Commit 3f9eef3c authored by Jason R. Coombs's avatar Jason R. Coombs

Use more explicit command-line parameters

parent 6e757a7f
...@@ -160,7 +160,7 @@ download_file_powershell.viable = ( ...@@ -160,7 +160,7 @@ download_file_powershell.viable = (
) )
def download_file_curl(url, target): def download_file_curl(url, target):
cmd = ['curl', url, '-o', target] cmd = ['curl', url, '--silent', '--output', target]
subprocess.check_call(cmd) subprocess.check_call(cmd)
def has_curl(): def has_curl():
...@@ -174,7 +174,7 @@ def has_curl(): ...@@ -174,7 +174,7 @@ def has_curl():
download_file_curl.viable = has_curl download_file_curl.viable = has_curl
def download_file_wget(url, target): def download_file_wget(url, target):
cmd = ['wget', url, '-q', '-O', target] cmd = ['wget', url, '--quiet', '--output-document', target]
subprocess.check_call(cmd) subprocess.check_call(cmd)
def has_wget(): def has_wget():
......
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