diff --git a/cd.sh b/cd.sh index 80e40d9..13141fd 100644 --- a/cd.sh +++ b/cd.sh @@ -442,7 +442,7 @@ cd_list_working_directory () { } cd_set_https_verification_off () { - if [ "${CD_CA}" -o "${CD_PM}" = "${CD_PM_APT}" ] ; then + if [ "${CD_CA}" ] || [ "${CD_PM}" = "${CD_PM_APT}" ] ; then cd_step "Set HTTPS verification off" cd_mkdir "$(dirname "${CD_PM_HTTPS_PATH}")" cd_write "${CD_PM_HTTPS_PATH}" "${CD_PM_HTTPS_TEXT}"