Use -L with curl for download of Racket installer.
To follow redirects, if any.
This commit is contained in:
parent
1216a31b49
commit
e1d8cbf061
|
@ -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:
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user