We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup_env.sh
sed
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).
'' -e
sed -i
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?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
'' -e
aftersed -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:
Can you test it on linux and apply patch if it also works fine?
The text was updated successfully, but these errors were encountered: