From 15aa91514aa39a45c19329dae272020385c690c7 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 10 Feb 2015 15:54:05 -0600 Subject: [PATCH] Correct path to find in TravisCI goclean script. Fixes #294. --- goclean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goclean.sh b/goclean.sh index 64268968..553a1604 100755 --- a/goclean.sh +++ b/goclean.sh @@ -21,7 +21,7 @@ env GORACE="halt_on_error=1" go test -v -race ./... echo "mode: count" > profile.cov # Standard go tooling behavior is to ignore dirs with leading underscores. -for dir in $(/bin/find . -maxdepth 10 -not -path '.' -not -path './.git*' \ +for dir in $(find . -maxdepth 10 -not -path '.' -not -path './.git*' \ -not -path '*/_*' -not -path './cmd*' -not -path './release*' -type d) do if ls $dir/*.go &> /dev/null; then