Skip to content

Commit 2935345

Browse files
authored
Merge pull request kubernetes#75668 from bart0sh/PR0068-hack-lib-golang.sh-fix-mac-build
fix 'make generated_files' build on MacOS
2 parents e05be44 + 3d5d386 commit 2935345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/lib/golang.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ kube::golang::build_binaries() {
718718
platforms=("${host_platform}")
719719
fi
720720

721-
local binaries
721+
local -a binaries
722722
while IFS="" read -r binary; do binaries+=("$binary"); done < <(kube::golang::binaries_from_targets "${targets[@]}")
723723

724724
local parallel=false

0 commit comments

Comments
 (0)