Move sudo from yml to sh. Tweak a message.

This commit is contained in:
Greg Hendershott 2013-07-02 18:51:03 -04:00
parent df4405e61d
commit 536f1ef1e1
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ language: racket
before_install:
- chmod u+rx ./install-racket.sh
- sudo ./install-racket.sh
- ./install-racket.sh
install:

View File

@ -4,12 +4,12 @@ VERSION=5.3.5
URL="http://download.racket-lang.org/installers/$VERSION/racket/racket-$VERSION-bin-x86_64-linux-ubuntu-precise.sh"
INSTALL="./racket-$VERSION.sh"
echo "Downloading $URL to $INSTALL..."
echo "Downloading $URL to $INSTALL:"
curl -o $INSTALL $URL
echo "Running Racket installer..."
echo "Running $INSTALL to install Racket:"
chmod u+rx "$INSTALL"
"$INSTALL" <<EOF
sudo "$INSTALL" <<EOF
no
1