18947: Use git-ls-files instead of git-grep to find go dirs.
[arvados.git] / build / run-tests.sh
index 67c54c98b0244a72842bccfbb964ce3dbd164c0c..54535cfef5ade71ddbf4700cd5447f040cc47d25 100755 (executable)
@@ -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" \