cd_ca
This commit is contained in:
parent
49cfdb32f8
commit
9e83c7de5f
1 changed files with 1 additions and 9 deletions
10
cd.sh
10
cd.sh
|
@ -37,17 +37,9 @@ cd_main () {
|
||||||
# steps
|
# steps
|
||||||
|
|
||||||
cd_set_environment_variables () {
|
cd_set_environment_variables () {
|
||||||
local index
|
|
||||||
local text
|
|
||||||
cd_step "Set environment variables"
|
cd_step "Set environment variables"
|
||||||
#
|
#
|
||||||
index=1
|
[ "${CD_CA_1}" ] && CD_CA=true
|
||||||
eval "text=\"\${CD_CA_${index}}\""
|
|
||||||
while [ "${text}" ] ; do
|
|
||||||
CD_CA=${index}
|
|
||||||
index=$((index+1))
|
|
||||||
eval "text=\"\${CD_CA_${index}}\""
|
|
||||||
done
|
|
||||||
#
|
#
|
||||||
case "$(cd_grep_os ID)" in
|
case "$(cd_grep_os ID)" in
|
||||||
"debian")
|
"debian")
|
||||||
|
|
Loading…
Reference in a new issue