che.sh does not run
See original GitHub issueeugene@eugene:~/projects/artik-ide (alpine_based_image)$ ./artik.sh info
./artik.sh: 420: ./artik.sh: Syntax error: "(" unexpected (expecting "fi")
OS and version: Ubuntu 14.04
Happens both to artik-ide.sh and che.sh
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Shell script file (.sh) does not run, and throws an error
I am new to Linux, and I have a shell script ( .sh ) file I on my Desktop that I want to...
Read more >Bash script runs manually, but fails on crontab - Stack Overflow
The problem is probably that your $PATH is different in the manual environment from that under which crontab runs. Hence, which can't find...
Read more >Fix the restart of che-code based workspaces #21085 - GitHub
Describe the bug Starting a devworkspace with che-code enabled fails to restart or start (if stopped). Code was enabled with url parameter.
Read more >bash - Separate environment with different /bin/sh
I run Ubuntu 16, where /bin/sh links to dash , and thus bash-isms are not supported. I need to run the scripts periodically....
Read more >How do you make .sh files open with Windows Terminal ...
Right click .sh file -> Open with -> choose other app -> more apps -> look for other apps on this PC, select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@TylerJewell Great! I also think it is the best solution. Glad to have helped.
@andresbono - that syntax will break on mac + windows.
If we need to do a truly posix implementation: https://github.com/makefu/array http://stackoverflow.com/questions/6499486/how-to-mark-an-array-in-posix-sh