diff --git a/cd.sh b/cd.sh index 804d963..8c7e9c9 100644 --- a/cd.sh +++ b/cd.sh @@ -635,8 +635,9 @@ local variable="${1}" } cd_install_package () { - if [ "${1}" ] ; then - ${CD_PM_INSTALL} "${1}" || exit + cd_install_package__name="${1}" + if [ "${cd_install_package__name}" ] ; then + ${CD_PM_INSTALL} "${cd_install_package__name}" || exit fi }