build-style/go: install cross-built binaries properly

This commit is contained in:
Dominik Honnef 2015-06-12 13:21:10 +02:00
parent acd2a4f4aa
commit 504831f121

View File

@ -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
}