Skip to content

Commit

Permalink
scripts/cover.sh : fix unix + mac support
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Mar 21, 2017
1 parent c92b9fa commit 137eb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cover.sh
Expand Up @@ -11,7 +11,7 @@ rm -f ./coverage/*.out
start=`date +%s`
COVER_PKGS=$(glide novendor | grep -v "test/..." | \
grep -v "main/..." | grep -v "benchmarks/..." | \
awk -v ORS=, '{ print $1 }' | sed 's/,$/\n/')
awk -v ORS=, '{ print $1 }' | sed $'s/,$/\\\n/')

FILES=$(go list ./... | grep -v "vendor" | grep "test\|examples")
FILES_ARR=($FILES)
Expand Down

0 comments on commit 137eb03

Please sign in to comment.