mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-21 01:13:56 +00:00
ci/lib.sh: set GOPATH default value
Scripts sourcing ci/lib.sh need to set $GOPATH otherwise it will fail. This ensure that GOPATH is set to ${HOME}/go unless it is already exported. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
e410aef4fa
commit
4141875ffd
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
|
GOPATH=${GOPATH:-${HOME}/go}
|
||||||
export kata_repo="github.com/kata-containers/kata-containers"
|
export kata_repo="github.com/kata-containers/kata-containers"
|
||||||
export kata_repo_dir="$GOPATH/src/$kata_repo"
|
export kata_repo_dir="$GOPATH/src/$kata_repo"
|
||||||
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
|
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
|
||||||
|
Loading…
Reference in New Issue
Block a user