-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
[bug report] startup.sh complains about [[: not found #3397
Comments
Please check your local |
@KomachiSion I've cross checked, there's no difference. The version is nacos-server-1.3.1, the lastest release. using I've found these two questions on Stackoverflow, the answers, if I understand correctly, suggest that |
So should we change the top of |
@KomachiSion Yep. If you change shabang line to Actually I think whoever wrote this script shoule be with bash in mind, but it still bothers me as to why the author didn't notice this problem. The downside of using bash will be risky of non-portatability. |
bash startup.sh -m standalone,Ubuntu下用这个 |
@i will solve it@ |
[ISSUE #3397]Fix shell syntax error when running in ubuntu
use this on Ubuntu bash startup.sh -m standalone |
Issue Description
startup.sh complains about [[: not found.
Describe what happened (or what feature you want)
I'm trying to start Nacos in standalone mode by executing:
It output the following:
Describe what you expected to happen
I expect Nacos is running in standalone mode and no more warning about
[[: not found
.How to reproduce it (as minimally and precisely as possible)
Tell us your environment
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
nacos-server-1.3.1
Anything else we need to know?
N/A
The text was updated successfully, but these errors were encountered: