diff options
| author | root <liulinghui@huawei.com> | 2020-10-16 10:13:35 +0800 |
|---|---|---|
| committer | root <liulinghui@huawei.com> | 2020-10-16 10:13:35 +0800 |
| commit | cc40c9dbbafd5434c3a08a7f727e5a7f3b648d4c (patch) | |
| tree | 92b47f56de3c6d956b294b340692e5e36565a8cd /hack/lib/golang.sh | |
| parent | Merge pull request #2235 from daixiang0/help-version (diff) | |
| download | kubeedge-cc40c9dbbafd5434c3a08a7f727e5a7f3b648d4c.tar.gz | |
Fix bash array usage in hack/lib/golang.sh
Diffstat (limited to 'hack/lib/golang.sh')
| -rw-r--r-- | hack/lib/golang.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 14d530a93..9bba8e1e3 100644 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -140,7 +140,7 @@ kubeedge::check::env() { # check lenth of errors if [[ ${#errors[@]} -ne 0 ]] ; then local error - for error in ${errors[@]}; do + for error in "${errors[@]}"; do echo "Error: "$error done exit 1 |
