From 279780687229937b172c0b23fbfffef8b87e3385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 13 May 2024 15:47:47 +0200 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 5f9c99a..516dfc7 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -30,7 +30,7 @@ ynh_composer_execute() { fi COMPOSER_HOME="sudo -u $app $workdir/.composer" COMPOSER_MEMORY_LIMIT=-1 \ - php${phpversion} "$workdir/composer.phar" $commands \ + sudo -u $app php${phpversion} "$workdir/composer.phar" $commands \ -d "$workdir" --no-interaction --no-ansi 2>&1 }