From a01eba39027490eccfc8eff208d5cb63eb025fe0 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 10 Feb 2021 11:34:16 +0100 Subject: [PATCH] fix yq command syntax --- scripts/mount-payment-schedules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mount-payment-schedules.sh b/scripts/mount-payment-schedules.sh index cf249f637..5a9e15dda 100644 --- a/scripts/mount-payment-schedules.sh +++ b/scripts/mount-payment-schedules.sh @@ -26,7 +26,7 @@ add_mount() { # shellcheck disable=SC2016 # we don't want to expand ${PWD} - yq w docker-compose.yml "services.$SERVICE.volumes[+]" '- ${PWD}/payment_schedules:/usr/src/app/payment_schedules' + yq w -i docker-compose.yml "services.$SERVICE.volumes[+]" '${PWD}/payment_schedules:/usr/src/app/payment_schedules' } proceed()