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

create_tars_server.sh shell error #197

Closed
forgeyao opened this issue May 7, 2020 · 1 comment
Closed

create_tars_server.sh shell error #197

forgeyao opened this issue May 7, 2020 · 1 comment

Comments

@forgeyao
Copy link

forgeyao commented May 7, 2020

when i create new server,shell error

sh $GOPATH/src/github.com/TarsCloud/TarsGo/tars/tools/create_tars_server.sh MKG UserInfoServer UserInfo
~/go/src/github.com/TarsCloud/TarsGo/tars/tools/create_tars_server.sh: 12: [: ~/go: unexpected operator
~/go/src/github.com/TarsCloud/TarsGo/tars/tools/create_tars_server.sh: 28: [: UserInfoServer: unexpected operator

OS:Ubuntu 12:04
when i change to Ubuntu 16:04,it's OK.

i find reason in stackoverflow
https://stackoverflow.com/questions/3411048/unexpected-operator-in-shell-programming

so suggest change 'sh' to 'bash' in tarsgo document

@tarscloudbot
Copy link
Contributor

该issue长期未更新。如果问题依旧没解决,欢迎重新打开issue。TARS社区有您更精彩。

Thanks for your supporting. The issue has not been updated for a long time. If the problem is still not resolved, welcome to reopen the issue.

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

No branches or pull requests

2 participants