From 70c770f1394dbaa66ea92781e794032fc75ba090 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Mon, 5 Feb 2024 09:33:45 +0000 Subject: [PATCH] related to fix of issue #200 (composer_global_home should be defined for all context and not only debugging purpose --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 8e20d93b..9e10dbcb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,10 +3,11 @@ [ "$APP_DEBUG" == 'true' ] && set -x set -e +composer_global_home="/home/$(id -u -n)/.composer" + if [ "$APP_DEBUG" == 'true' ] then echo "> You will act as user: $(id -u -n)" - composer_global_home="/home/$(id -u -n)/.composer" echo "> Path to Composer home dir: ${composer_global_home}" fi