modifs.mineures sans commentaires
This commit is contained in:
parent
92827bf0c1
commit
f0280596a8
|
@ -46,6 +46,7 @@ p == 1 {
|
|||
}
|
||||
' >"$userconf"
|
||||
initial_config=
|
||||
|
||||
elif [ -n "$projdir" ]; then
|
||||
# forcer BUILDENV0=..env.dist et BUILDENV=.env pour les projets de
|
||||
# l'université de la Réunion
|
||||
|
@ -55,6 +56,7 @@ elif [ -n "$projdir" ]; then
|
|||
/^BUILDENV0=/s/=.*/=..env.dist/
|
||||
/^BUILDENV=/s/=.*/=.env/
|
||||
'
|
||||
|
||||
else
|
||||
initial_config=1
|
||||
userconf="$MYDIR/runphp.userconf"
|
||||
|
@ -82,6 +84,11 @@ if [ -n "$projdir" ]; then
|
|||
'
|
||||
initial_config=1
|
||||
fi
|
||||
if [ ! -f "$projdir/.runphp.conf" ]; then
|
||||
sed <"$MYDIR/dot-runphp.conf" >"$projdir/.runphp.conf" '
|
||||
/^RUNPHP=/s/=.*/=sbin\/runphp/
|
||||
'
|
||||
fi
|
||||
fi
|
||||
|
||||
[ -n "$initial_config" ]
|
||||
|
|
Loading…
Reference in New Issue