diff --git a/cd.sh b/cd.sh index 622af39..0ff0821 100644 --- a/cd.sh +++ b/cd.sh @@ -37,17 +37,9 @@ cd_main () { # steps cd_set_environment_variables () { -local index -local text cd_step "Set environment variables" # - index=1 - eval "text=\"\${CD_CA_${index}}\"" - while [ "${text}" ] ; do - CD_CA=${index} - index=$((index+1)) - eval "text=\"\${CD_CA_${index}}\"" - done + [ "${CD_CA_1}" ] && CD_CA=true # case "$(cd_grep_os ID)" in "debian")