From: Tom Clegg Date: Thu, 7 Apr 2022 15:35:27 +0000 (-0400) Subject: 18947: Use git-ls-files instead of git-grep to find go dirs. X-Git-Tag: 2.5.0~191^2~7 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/0a98e961b638af177b6e0aebf63f1388cb2b3498?ds=sidebyside 18947: Use git-ls-files instead of git-grep to find go dirs. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/build/run-tests.sh b/build/run-tests.sh index 67c54c98b0..54535cfef5 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -985,7 +985,7 @@ pythonstuff=( ) declare -a gostuff -gostuff=($(cd "$WORKSPACE" && git grep -lw func | grep \\.go | sed -e 's/\/[^\/]*$//' | sort -u)) +gostuff=($(cd "$WORKSPACE" && git ls-files | grep '\.go$' | sed -e 's/\/[^\/]*$//' | sort -u)) install_apps/workbench() { cd "$WORKSPACE/apps/workbench" \