#!/bin/sh

export GOROOT_FINAL=$EXTERNALS_INSTALL_LOCATION/go

rm $EXTERNALS_INSTALL_LOCATION/bin/go || true
rm $EXTERNALS_INSTALL_LOCATION/bin/gofmt || true
ln -s $EXTERNALS_INSTALL_LOCATION/go/bin/go $EXTERNALS_INSTALL_LOCATION/bin/go
ln -s $EXTERNALS_INSTALL_LOCATION/go/bin/gofmt $EXTERNALS_INSTALL_LOCATION/bin/gofmt
