diff --git a/cd.sh b/cd.sh index 7a780e3..b5ddf8d 100644 --- a/cd.sh +++ b/cd.sh @@ -3,8 +3,10 @@ [ "${CD_DNS}" ] || CD_DNS="\ 9.9.9.9 \ " -# modules -set "cd" "rwx" +CD_PYTHON_MODULES="\ +cd \ +rwx \ +" # steps cd_main () { @@ -24,8 +26,8 @@ cd_main () { cd_install_git cd_install_python cd_clean_packages_cache - cd_install_python_modules "${@}" - cd_execute_python_module "${@}" + cd_install_python_modules ${CD_PYTHON_MODULES} + cd_execute_python_module ${CD_PYTHON_MODULES} } # functions @@ -330,4 +332,4 @@ local text="${2}" } # main -cd_main "${@}" +cd_main