Fix typo
This commit is contained in:
parent
15aeff377c
commit
dc9273b0d5
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ function pullpod() {
|
|||
if [[ ! -d "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" ]]; then
|
||||
git clone "$(getValueByKey 'GIT_REPOSITORY')/${1}.git" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
|
||||
|
||||
if [[ $(getLocalConfValue "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" '.container.hasEnvVars' ) == true ]]; then
|
||||
for i in $(getLocalConfValue "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" '.container.envVars[]'); do
|
||||
if [[ $(getLocalConfValue "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" 'container.hasEnvVars' ) == true ]]; then
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue