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