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:
. /dev/stdin <<<"$(curl -Ls https://s.defang.io/install)" - good but a little long-looking
curl -Ls https://s.defang.io/install | sh - cannot use defang immediately without refreshing after 1st install
If you have any opinion on which command to use, please comment below.
Description
Note: A better version of this is #878
Replaced the Shell installation
. <(curl -Ls https://s.defang.io/install)
witheval "$(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:
. /dev/stdin <<<"$(curl -Ls https://s.defang.io/install)"
- good but a little long-lookingcurl -Ls https://s.defang.io/install | sh
- cannot use defang immediately without refreshing after 1st installIf 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