Permalink
Browse files

parameterize

  • Loading branch information...
1 parent d6be154 commit f20eb76c7931b6070d9f482be85ef74a0b305c90 @kr kr committed Nov 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/compile
View
@@ -6,9 +6,9 @@ set -eo pipefail
mkdir -p "$1" "$2"
build=$(cd "$1/" && pwd)
cache=$(cd "$2/" && pwd)
-ver=1.0.3
-file=go$ver.$(uname|tr A-Z a-z)-amd64.tar.gz
-url=http://go.googlecode.com/files/$file
+ver=${GOVERSION:-1.0.3}
+file=${GOFILE:-go$ver.$(uname|tr A-Z a-z)-amd64.tar.gz}
+url=${GOURL:-http://go.googlecode.com/files/$file}
buildpack=$(dirname $(dirname $0))
# Python

0 comments on commit f20eb76

Please sign in to comment.