Use HEAD_VERSION var.

This commit is contained in:
Greg Hendershott 2013-10-17 04:17:47 -04:00
parent c2fc8bef67
commit 4d4ad04059

View File

@ -5,9 +5,10 @@ if [ "$RACKET_VERSION" == "HEAD" ]; then
# builds have a version number like 5.90.0.9 embedded in the
# URL. So this will need to be updated manually whenever the
# version is bumped.
URL="http://www.cs.utah.edu/plt/snapshots/current/installers/racket-5.90.0.9-x86_64-linux-precise.sh"
HEAD_VERSION="5.90.0.9"
URL="http://www.cs.utah.edu/plt/snapshots/current/installers/racket-${HEAD_VERSION}-x86_64-linux-precise.sh"
else
URL="http://download.racket-lang.org/installers/$RACKET_VERSION/racket/racket-$RACKET_VERSION-bin-x86_64-linux-debian-squeeze.sh"
URL="http://download.racket-lang.org/installers/${RACKET_VERSION}/racket/racket-${RACKET_VERSION}-bin-x86_64-linux-debian-squeeze.sh"
fi
INSTALL="./racket-${RACKET_VERSION}.sh"