Commit 261e199
authored
reworked equality test to be sh-compatible
running this script as sudo ./setup-k8s-prereqs.sh would hit
"./setup-k8s-prereqs.sh: 22: [: bionic: unexpected operator"
explanation : https://stackoverflow.com/a/3411105
since script is "marketed" as sh, use "=" instead of "==" which works both under sh and bash1 parent 394257f commit 261e199
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
0 commit comments