multus-cni/build
Tomofumi Hayashi ee8bf5785d Following group name changes in github.
This changes to track organization name change in github, from
Intel-Corp to intel.
2018-05-18 15:34:12 +09:00

18 lines
369 B
Bash
Executable File

#!/usr/bin/env bash
set -e
ORG_PATH="github.com/intel"
REPO_PATH="${ORG_PATH}/multus-cni"
if [ ! -h gopath/src/${REPO_PATH} ]; then
mkdir -p gopath/src/${ORG_PATH}
ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255
fi
export GO15VENDOREXPERIMENT=1
export GOBIN=${PWD}/bin
export GOPATH=${PWD}/gopath
echo "Building plugins"
go install "$@" ${REPO_PATH}/multus