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() { do_install() {
for f in "${GOBIN}"/*; do find "${GOBIN}" -type f -executable | while read line
vbin "$f" do
vbin "${line}"
done done
} }