From c3cf288603d69e9821b786b318df892594eeb994 Mon Sep 17 00:00:00 2001 From: Angel Vil Date: Sun, 12 Oct 2025 19:05:16 +0200 Subject: [PATCH] Fix: avoid warning when running bin/setup by adding check for ./env/magento.env --- compose/bin/setup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compose/bin/setup b/compose/bin/setup index 3329b89eb..6f93d7920 100755 --- a/compose/bin/setup +++ b/compose/bin/setup @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -o errexit -if [ -f "../env/magento.env" ]; then +if [ -f "./env/magento.env" ]; then + source "./env/magento.env" +elif [ -f "../env/magento.env" ]; then source "../env/magento.env" else echo "Warning: magento.env file not found."