mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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…
Add table
Reference in a new issue