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