build-style/go: install cross-built binaries properly
This commit is contained in:
parent
acd2a4f4aa
commit
504831f121
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue