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