Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update if syntax to be sh/POSIX compatible #67

Merged
merged 1 commit into from
Oct 20, 2021
Merged

Conversation

ghost
Copy link

@ghost ghost commented Oct 20, 2021

[[ ]] syntax is bash built-in.

I tested both methods :

  • Set bash as interpreter instead of sh : #!/bin/bash
  • Use POSIX compatible if syntax : if [ ... ]; then.

@sakai135
Copy link
Owner

Nice, thanks

@sakai135 sakai135 merged commit d4e93ec into sakai135:main Oct 20, 2021
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.

1 participant