Update serverSetup.ts | Add shebang to Bash install script for compatibility#184
Update serverSetup.ts | Add shebang to Bash install script for compatibility#184vadrif-draco wants to merge 4 commits into
Conversation
This should extend support for linux servers whose default shell is not compatible with the embedded shell script
Co-authored-by: Adam C. Stephens <2071575+adamcstephens@users.noreply.github.com>
|
Any updates on this? I believe it's a very simple fix for a relatively important issue for anyone whose remote machine logon shell isn't compatible with the script... |
GitMensch
left a comment
There was a problem hiding this comment.
LGTM - but.. is the "env" binary guaranteed to be available in this place everywhere?
|
Simple fix for #182 ? |
|
Just installed a packaged version of the current patch-1 branch in codium, and I still have the same error when reading the install script on the remote machine... |
|
@vadrif-draco Does the shebang fix the issue? I wonder because the script is executed with the command |
|
I've seen issues with the install script where users use shells like tcsh/csh. So adding my +1 |
I see no issue to add the shebang but I just wonder if that will fix the issue... @vadrif-draco Can you change from |
|
As noted I'm not sure if the I think the fix is to change open-remote-ssh/src/serverSetup.ts Line 194 in 493245d to use |
|
|
I kind of feel it would be more useful to work on POSIX compatibility and replace bash by sh... (but have no clue when I find time working on that). |
|
This is why I find that I will try to exfiltrate the install scripts outside the code so they can be linted more easily. |
This should extend support for linux servers whose default shell is not compatible with the embedded shell script