Improving syntax for bash scripts
This commit is contained in:
@@ -594,11 +594,11 @@ kube::golang::build_binaries_for_platform() {
|
||||
|
||||
for binary in "${binaries[@]}"; do
|
||||
if [[ "${binary}" =~ ".test"$ ]]; then
|
||||
tests+=($binary)
|
||||
tests+=(${binary})
|
||||
elif kube::golang::is_statically_linked_library "${binary}"; then
|
||||
statics+=($binary)
|
||||
statics+=(${binary})
|
||||
else
|
||||
nonstatics+=($binary)
|
||||
nonstatics+=(${binary})
|
||||
fi
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user