From 4d4ad04059849f9d49f20ec712cd7d91d4789e81 Mon Sep 17 00:00:00 2001 From: Greg Hendershott Date: Thu, 17 Oct 2013 04:17:47 -0400 Subject: [PATCH] Use HEAD_VERSION var. --- install-racket.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install-racket.sh b/install-racket.sh index 5918a8d..eb2027a 100644 --- a/install-racket.sh +++ b/install-racket.sh @@ -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"