This commit is contained in:
Marc Beninca 2024-05-03 19:31:25 +02:00
parent 49cfdb32f8
commit 9e83c7de5f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

10
cd.sh
View file

@ -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")