build-style/go: use glob instead of find
This commit is contained in:
parent
c3c3fb5c3a
commit
ad5e48816c
1 changed files with 4 additions and 3 deletions
|
@ -41,8 +41,9 @@ do_build() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
find "${GOPATH}/bin" -type f -executable | while read line
|
||||
do
|
||||
vbin "${line}"
|
||||
for f in ${GOPATH}/bin/* ${GOPATH}/bin/**/*; do
|
||||
if [ -f "$f" ] && [ -x "$f" ]; then
|
||||
vbin "$f"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue