You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112
  1. #!/usr/bin/env bash
  2. #
  3. # THIS FILE IS ONLY USED BY _dev/bogo. It will be removed in future
  4. set -e
  5. BASEDIR=$(cd "$(dirname "$0")" && pwd)
  6. GOENV="$(go env GOHOSTOS)_$(go env GOHOSTARCH)"
  7. BUILD_DIR=${BASEDIR}/GOROOT make -f $BASEDIR/Makefile >&2
  8. export GOROOT="$BASEDIR/GOROOT/$GOENV"
  9. exec go "$@"