DefangLabs / defang

Defang CLI and sample projects. Defang is a radically simpler way for developers to develop, deploy, and debug cloud applications.
https://defang.io
MIT License
39 stars 9 forks source link

Fix installation to work with bash and all versions of shell #866

Closed commit111 closed 5 days ago

commit111 commented 1 week ago

Description

Note: A better version of this is #878

Replaced the Shell installation . <(curl -Ls https://s.defang.io/install) with eval "$(curl -Ls https://s.defang.io/install)" to fix the issue of process substitution not being available on older versions of Bash.

There was discussion on other alternatives:

If you have any opinion on which command to use, please comment below.

Linked Issues

Fixes #631 Updated /defang-docs repo https://github.com/DefangLabs/defang-docs/pull/115 Updated /samples repo https://github.com/DefangLabs/samples/pull/258 Updated /docs-chatbot repo https://github.com/DefangLabs/docs-chatbot/pull/19

Checklist