diff --git a/build b/build index c6d60ff8..4f5cfc79 100755 --- a/build +++ b/build @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -xe +set -e ORG_PATH="github.com/containernetworking" REPO_PATH="${ORG_PATH}/cni" diff --git a/test b/test index 634633f4..6db93b71 100755 --- a/test +++ b/test @@ -35,7 +35,7 @@ TEST=${split[@]/#/${REPO_PATH}/} echo -n "Running tests " function testrun { - sudo -E bash -c "umask 0; PATH=\$GOBIN:\$GOROOT/bin:\$PATH go test -covermode set $@" + sudo -E bash -c "umask 0; PATH=$GOROOT/bin:$GOBIN:$PATH go test -covermode set $@" } if [ ! -z "${COVERALLS}" ]; then echo "with coverage profile generation..."