From 504831f12189798b91a2ce2342ad95747a20cd20 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Fri, 12 Jun 2015 13:21:10 +0200 Subject: [PATCH] build-style/go: install cross-built binaries properly --- common/build-style/go.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/build-style/go.sh b/common/build-style/go.sh index 2f89352243..8f1d0b5c16 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 }