diff options
author | Jakob Unterwurzacher | 2019-03-31 15:16:20 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-03-31 15:16:20 +0200 |
commit | 3b18e546fc43c13b6ad7d9ad7273594ef019ac73 (patch) | |
tree | 38c6627595c24b9396b933bc0d7a2d829030d65c | |
parent | 8f2723b387fd3a4f575109a42d7c91059ebfe3fa (diff) |
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
-rwxr-xr-x | test.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ if ! go tool | grep vet > /dev/null ; then elif [[ -d vendor ]] ; then echo "vendor directory exists, skipping 'go tool vet'" else - go vet . + go vet "$@" . fi # We don't want all the subprocesses |