Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bharendt
Copy link
Contributor

@bharendt bharendt commented Aug 15, 2016

Make all shell scripts on deploy hosts POSIX compatible. This allows to use there any shell as default shell (instead of requiring bash or zsh). Closes #143.

@lattenwald
Copy link

Thought I'd fix it in my fork, then create a pull-request, and looky there, there it is already waiting 8 months.

I wish this was already merged when I was fighting with dash being default shell in Ubuntu.

to allow to run them on operating systems which don't use
bash or zsh as default shell. See #143, #124 and #133
and is the default shell for the build user. See #143
Since there is a separate error message now if not,
not so much more details need to be explained there
any more.
@bharendt bharendt force-pushed the posix-compatibility branch from c23040e to b473f64 Compare February 5, 2018 09:39
@mk
Copy link
Contributor

mk commented Feb 5, 2018

@lattenwald sorry about that, I'll merge this now and we'll see to cut a new release soon.

@mk mk merged commit 2abf163 into master Feb 5, 2018
@mk mk deleted the posix-compatibility branch February 5, 2018 09:42
@syamilmj
Copy link

This is causing an issue as reported in #263

Specifically this line: https://github.com/edeliver/edeliver/blob/master/libexec/erlang#L312

@nulian
Copy link

nulian commented Mar 29, 2018

This is also the cause for #264
Think it has something to do with how local vars are quoted

cd \"$_release_store_path\"

If I remove the \ from that line it works again

@lessless
Copy link
Member

@nulian can you submit a patch please?

@nulian
Copy link

nulian commented Mar 30, 2018

I just reverted it for me to make it work. I'm not sure what is truly valid in POSIX because of not having a lot of knowledge about that. Found out this mostly with trial and error.

@lessless
Copy link
Member

@nulian @syamilmj I just reverted 96d64a8 and it should fix both #263 and #264
Can you please try a fresh master?

@nulian
Copy link

nulian commented Mar 30, 2018

It works correctly from master now.

@syamilmj
Copy link

@lessless master doesn't work for s3 release store. Still similar issue in #263

I tried changing this line to:

SILENCE="&> /dev/null"

And then it works.

Removal of & was introduced in ec1129b

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

Successfully merging this pull request may close these issues.

7 participants