build__common.sh: refactor var name

This commit is contained in:
pedro 2024-01-24 14:49:17 +01:00
parent e19d08d3cc
commit 837486a0fa

View file

@ -36,12 +36,12 @@ common_start() {
common_end() {
idhub_dc_f="docker-compose__${pilot}.yml"
docker compose -p ${pilot} -f ${idhub_dc_f} down -v || true
dc_file="docker-compose__${pilot}.yml"
docker compose -p ${pilot} -f ${dc_file} down -v || true
make idhub_build
if [ "${action:-}" = "deploy" ]; then
docker compose -p ${pilot} -f ${idhub_dc_f} up ${detach:-}
docker compose -p ${pilot} -f ${dc_file} up ${detach:-}
fi
}