Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

parameterize

  • Loading branch information...
commit f20eb76c7931b6070d9f482be85ef74a0b305c90 1 parent d6be154
@kr authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 bin/compile
View
6 bin/compile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.