Remove vendor/bin from PATH in script
We should no longer be building anything into vendor/bin in the scripts,
so adding it to the path can lead to all sorts of confusion if old
binaries are there.
MODIFY
scripts/build-test-lint.sh
scripts/build-test-lint.sh
set -eu
export GOPATH="$(pwd):$(pwd)/vendor"
-export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin"
+export PATH="$PATH:$(pwd)/bin"
echo "Checking that it builds"
gb build

MODIFY
scripts/find-lint.sh
scripts/find-lint.sh
set -eu
export GOPATH="$(pwd):$(pwd)/vendor"
-export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin"
+export PATH="$PATH:$(pwd)/bin"
args=""
if [ ${1:-""} = "fast" ]

MODIFY
scripts/travis-test.sh
scripts/travis-test.sh
@@ -13,7 +13,7 @@ export GOGC=400
export DENDRITE_LINT_DISABLE_GC=1
export GOPATH="$(pwd):$(pwd)/vendor"
-export PATH="$PATH:$(pwd)/vendor/bin:$(pwd)/bin"
+export PATH="$PATH:$(pwd)/bin"
if [ "${TEST_SUITE:-lint}" == "lint" ]; then
./scripts/find-lint.sh

Remove vendor/bin from PATH in script (#335)

We should no longer be building anything into vendor/bin in the scripts,
so adding it to the path can lead to all sorts of confusion if old
binaries are there.