From bf32e90fe5ac63474ae36471056d68b8cdda78a4 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Apr 2024 15:14:49 +0200 Subject: [PATCH] cd_python_modules --- cd.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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