Use -L with curl for download of Racket installer.

To follow redirects, if any.
This commit is contained in:
Greg Hendershott 2014-03-13 16:29:43 -04:00
parent 1216a31b49
commit e1d8cbf061
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ env:
before_install:
# Note: Important to pipe this to `bash` not to `sh`.
- curl -L https://github.com/greghendershott/travis-racket/releases/download/v0.5/install-racket.sh | bash
- curl https://raw.github.com/greghendershott/travis-racket/master/install-racket.sh | bash
install:

View File

@ -16,7 +16,7 @@ fi
INSTALL="./racket-${RACKET_VERSION}.sh"
echo "Downloading $URL to $INSTALL:"
curl -o $INSTALL $URL
curl -L -o $INSTALL $URL
echo "Running $INSTALL to install Racket:"
chmod u+rx "$INSTALL"