From 6732872e79f2ab833e5e7ffbf88a2c3a3647a8c4 Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Thu, 11 Jan 2024 19:56:31 +0100 Subject: [PATCH] sed - : to match --- utils/pull | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/pull b/utils/pull index 6ed2d17..dd045a5 100644 --- a/utils/pull +++ b/utils/pull @@ -17,7 +17,7 @@ function pullpod() { for i in $(getLocalConfValue "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" 'container.envVars[]'); do read -p "Please enter a value for '$i': " $(echo $i) export $(echo $i) - sed -i "s/\b$(echo $i)\b/$(echo $i): $(printenv | grep $i | cut -d= -f2)/g" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/docker-compose.yml" + sed -i "s/\b$(echo $i):\b/$(echo $i): $(printenv | grep $i | cut -d= -f2)/g" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/docker-compose.yml" done fi