diff --git a/common/build-style/go.sh b/common/build-style/go.sh index 2f89352243b..8f1d0b5c164 100644 --- a/common/build-style/go.sh +++ b/common/build-style/go.sh @@ -14,7 +14,8 @@ do_build() { } do_install() { - for f in "${GOBIN}"/*; do - vbin "$f" + find "${GOBIN}" -type f -executable | while read line + do + vbin "${line}" done }