Update comment, build Go if cd succeeds

This commit is contained in:
Igor Vuk 2014-09-14 00:56:31 +02:00
parent 0dfe5fd853
commit 9b86b0303c
1 changed files with 2 additions and 3 deletions

5
Vagrantfile vendored
View File

@ -7,12 +7,11 @@ VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT
SRCROOT="/opt/go"
# Install Go
# Install Go and prerequisites
apt-get -qq update
apt-get install -qq build-essential curl git-core libpcre3-dev mercurial pkg-config zip
hg clone -u release https://code.google.com/p/go ${SRCROOT}
cd ${SRCROOT}/src
./all.bash
cd ${SRCROOT}/src && ./all.bash
# Setup the GOPATH
mkdir -p /opt/gopath