test.bash: pass flags on to "go vet"
Fixes this problem when openssl headers are not installed: $ ./test-without-openssl.bash gocryptfs v1.7-11-g8f2723b without_openssl; go-fuse v1.0.0-133-gcc423d1; 2019-03-31 go1.12.1 Package libcrypto was not found in the pkg-config search path. Perhaps you should add the directory containing `libcrypto.pc' to the PKG_CONFIG_PATH environment variable No package 'libcrypto' found pkg-config: exit status 1
This commit is contained in:
parent
8f2723b387
commit
3b18e546fc
@ -48,7 +48,7 @@ if ! go tool | grep vet > /dev/null ; then
|
|||||||
elif [[ -d vendor ]] ; then
|
elif [[ -d vendor ]] ; then
|
||||||
echo "vendor directory exists, skipping 'go tool vet'"
|
echo "vendor directory exists, skipping 'go tool vet'"
|
||||||
else
|
else
|
||||||
go vet .
|
go vet "$@" .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We don't want all the subprocesses
|
# We don't want all the subprocesses
|
||||||
|
Loading…
Reference in New Issue
Block a user