diff --git a/utils/pull b/utils/pull index f0c10f7..9bcaddb 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 "s/$(echo $i)/$(echo $i): $(printenv | grep $i | cut -d= -f2)/g" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/docker-compose.yml" + sed "s/\b$(echo $i)\b/$(echo $i): $(printenv | grep $i | cut -d= -f2)/g" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/docker-compose.yml" done fi