rename import_path to go_import_path

This commit is contained in:
Dominik Honnef 2015-02-21 13:52:10 +01:00
parent 77e8751a93
commit bd75088422
4 changed files with 10 additions and 10 deletions

View file

@ -13,13 +13,13 @@ do_build() {
export GOPATH="/tmp/gopath"
if [[ "${go_get}" != "yes" ]]; then
local path="${GOPATH}/src/${import_path}"
local path="${GOPATH}/src/${go_import_path}"
mkdir -p "$(dirname ${path})"
ln -fs $PWD "${path}"
fi
go get -d -v "${import_path}"
go build -x "${import_path}"
go get -d -v "${go_import_path}"
go build -x "${go_import_path}"
}
do_install() {