On macosx (zsh) setup_envs.sh fails with error
sed: 1: ".env.local": invalid command code .
In this SO https://stackoverflow.com/questions/19456518/invalid-command-code-despite-escaping-periods-using-sed recommended to add '' -e after sed -i in case when sed commandd fails on period (like .env.local I suppose).
I fixed this in this way (for all sed's) and this working wor me:
sed -i '' -e "s/^APP_ENV=.*/APP_ENV=${APP_ENV}/g" .env.local && \
...
Can you test it on linux and apply patch if it also works fine?
On macosx (zsh) setup_envs.sh fails with error
In this SO https://stackoverflow.com/questions/19456518/invalid-command-code-despite-escaping-periods-using-sed recommended to add
'' -eaftersed -iin case when sed commandd fails on period (like .env.local I suppose).I fixed this in this way (for all sed's) and this working wor me:
Can you test it on linux and apply patch if it also works fine?