Merge pull request #2347 from bdarnell/fix-nyet-test

Fix test for existence of go-nyet.
This commit is contained in:
Barak Michener 2015-02-20 14:07:55 -05:00
commit d57e07dcde

2
test
View File

@ -60,7 +60,7 @@ if [ -n "${vetRes}" ]; then
exit 255
fi
if [ -f `which go-nyet` ]; then
if command -v go-nyet >/dev/null 2>&1; then
echo "Checking go-nyet..."
nyetRes=$(go-nyet -exitWith 0 $FMT)
if [ -n "${nyetRes}" ]; then