There was an error while loading. Please reload this page.
1 parent 6eda399 commit 50e9091Copy full SHA for 50e9091
database/azure-create-sql-db.sh
@@ -5,7 +5,7 @@ set -euo pipefail
5
FILE="../.env"
6
if [[ -f $FILE ]]; then
7
echo "Loading from $FILE"
8
- export $(egrep "^[^#;]" $FILE | xargs -n1)
+ eval $(egrep "^[^#;]" $FILE | tr '\n' '\0' | xargs -0 -n1 | sed 's/^/export /')
9
else
10
echo "Enviroment file not detected."
11
echo "Please make sure there is a .env file in the sample root folder and run the script again."
0 commit comments