Skip to content

reworked equality test to be sh-compatible#638

Merged
uc-msft merged 1 commit intomicrosoft:masterfrom
Guillaume-Fourrat:patch-2
Sep 25, 2019
Merged

reworked equality test to be sh-compatible#638
uc-msft merged 1 commit intomicrosoft:masterfrom
Guillaume-Fourrat:patch-2

Conversation

@Guillaume-Fourrat
Copy link
Copy Markdown
Contributor

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 bash

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 bash
@uc-msft uc-msft merged commit a1e7e29 into microsoft:master Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants