manage, fix newline escaping.
This commit is contained in:
1 parent
64f90acffd
commit
db4e61eeff
1 file changed
+2
-2
+2
-2
@@ -151,8 +151,8 @@ if [[ -n $up || -n $down || -n $build || -n $pull || -n $maintenance ]]; then
|
|||||||
pwd
|
pwd
|
||||||
|
|
||||||
# Ensure env file exists so that all compose variables are populated.
|
# Ensure env file exists so that all compose variables are populated.
|
||||||
if [[ -e "./example.env" && ! -e "./.env" &&
|
if [[ -f "./example.env" && ! -f "./.env" \
|
||||||
( -f "docker-compose.yml" || -f "compose.yml" ]]; then
|
&& ( -f "docker-compose.yml" || -f "compose.yml" ]]; then
|
||||||
echo "WARNING: .env file was not found, copying example as placeholder."
|
echo "WARNING: .env file was not found, copying example as placeholder."
|
||||||
cp -v example.env .env
|
cp -v example.env .env
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user