diff --git a/build__common.sh b/build__common.sh index e1bae23..5a12579 100644 --- a/build__common.sh +++ b/build__common.sh @@ -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 }