From b763066f8a4de3d35961028b4956a7e5fa053752 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 18 Oct 2024 15:32:42 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- runphp/runphp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/runphp/runphp b/runphp/runphp index 0fddf35..689f7c2 100755 --- a/runphp/runphp +++ b/runphp/runphp @@ -436,7 +436,7 @@ runphp: lancer une commande dans docker USAGE $MYNAME ci|cu|composer - $MYNAME --exec [options...] command [args...] + $MYNAME command [args...] COMMANDES COMPOSER ci @@ -477,8 +477,14 @@ OPTIONS -e RUNPHP_MODE=docker ) for arg in "${!PROXY_VARS[@]}"; do - args+=(--e "$arg=${PROXY_VARS[$arg]}") + args+=(-e "$arg=${PROXY_VARS[$arg]}") done + if [ -n "$RUNPHP_STANDALONE" ]; then + args+=( + -e "RUNPHP_STANDALONE=1" + -e "RUNPHP_PROJDIR=$PROJDIR" + ) + fi for host in "${HOST_MAPPINGS[@]}"; do args+=(--add-host "$host") done