Skip to content

Commit

Permalink
related to fix of issue #200 (composer_global_home should be defined …
Browse files Browse the repository at this point in the history
…for all context and not only debugging purpose
  • Loading branch information
llaville committed Feb 5, 2024
1 parent 10afb55 commit 70c770f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 70c770f

Please sign in to comment.