Ver código fonte

Fixed a bug where 3xx responses failed to retry

msmith-techempower 10 anos atrás
pai
commit
d218e3ad28
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      toolset/setup/linux/bash_functions.sh

+ 2 - 2
toolset/setup/linux/bash_functions.sh

@@ -18,8 +18,8 @@ fw_get () {
   #  --trust-server-names "$@"
   # DEPRECATED - older versions of wget use SSLv3 for handshaking
   # and therefore don't work (Ubuntu12, for instance).
-  # Use curl instead (-s means silent)
-  curl -s "$@"
+  # Use curl instead (-s means silent; -L means follow 3xx responses)
+  curl -sL "$@"
 
   # Ensure the background job is killed if we are
   kill $!; trap 'kill $!' SIGTERM