This commit is contained in:
LinuxSquare 2024-01-11 19:44:17 +01:00
parent 53697da305
commit 6ff50600e2

View file

@ -13,7 +13,7 @@ function pullpod() {
if [[ ! -d "$(getValueByKey 'PODMAN_DIRECTORY')/${1}" ]]; then
git clone "$(getValueByKey 'GIT_REPOSITORY')/${1}.git" "$(getValueByKey 'PODMAN_DIRECTORY')/${1}"
if [[ $(getLocalConfValue 'hasEnvVars' ) == true ]]; then
if [[ $(getLocalConfValue '.container.hasEnvVars' ) == true ]]; then
for i in $(getLocalConfValue '.container.envVars[]'); do
read -p "Please enter a value for '$i': " $(echo $i)
export $(echo $i)