modifs.mineures sans commentaires
This commit is contained in:
parent
2f1f401846
commit
ff1fe2c103
|
@ -93,7 +93,7 @@ if [ -z "$bootstrap" ]; then
|
|||
fi
|
||||
|
||||
if [ -n "$ForcedBootstrap" ]; then
|
||||
[ -z "$_RUNDK_IN_DOCKER" ] && eecho "== bootstrap rundk is needed"
|
||||
[ -z "$_RUNDK_IN_DOCKER" ] && eecho "== rundk is needed: bootstrapping"
|
||||
bootstrap=1
|
||||
BootstrapOnly=
|
||||
fi
|
||||
|
|
|
@ -2,13 +2,15 @@
|
|||
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
# Modèle de script utilisant rundk pour lancer un traitement dans un container
|
||||
# Ce script est à la racine du projet et rundk se trouve dans sbin/
|
||||
RUNDKDIR=sbin
|
||||
|
||||
MYDIR="$(dirname -- "$0")"; MYNAME="$(basename -- "$0")"
|
||||
if [ -z "$_RUNDK_IN_DOCKER" ]; then
|
||||
"$MYDIR/sbin/rundk" --bs --ue --ci || exit 1
|
||||
exec "$MYDIR/sbin/rundk" "$0" "$@"
|
||||
"$MYDIR/$RUNDKDIR/rundk" --bs --ue --ci || exit 1
|
||||
exec "$MYDIR/$RUNDKDIR/rundk" "$0" "$@"
|
||||
fi
|
||||
source "$MYDIR/vendor/nulib/php/load.sh" || exit 1
|
||||
source "$MYDIR/$RUNDKDIR/rundk" || exit 1
|
||||
source "$PROJDIR/$VENDORDIR/nulib/php/load.sh" || exit 1
|
||||
|
||||
args=(
|
||||
"description"
|
||||
|
|
Loading…
Reference in New Issue