question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

che.sh does not run

See original GitHub issue
eugene@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:closed
  • Created 7 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
andresbonocommented, Sep 1, 2016

@TylerJewell Great! I also think it is the best solution. Glad to have helped.

1reaction
TylerJewellcommented, Sep 1, 2016

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found