Merge pull request #217 from steveeJ/fix-go-tip

build: don't be verbose / test: fix bash variable escaping in sudo command
This commit is contained in:
Stefan Junker 2016-05-21 01:55:57 +02:00
commit 984ef8117a
2 changed files with 2 additions and 2 deletions

2
build
View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -xe
set -e
ORG_PATH="github.com/containernetworking"
REPO_PATH="${ORG_PATH}/cni"

2
test
View File

@ -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..."