error_ci,error_os
This commit is contained in:
parent
64ed4186b3
commit
c114dfae77
1 changed files with 9 additions and 0 deletions
9
cd.sh
9
cd.sh
|
@ -286,6 +286,15 @@ cd_cat () {
|
|||
fi
|
||||
}
|
||||
|
||||
cd_error_ci () {
|
||||
echo "× CI: ${1}"
|
||||
exit 1
|
||||
}
|
||||
cd_error_os () {
|
||||
echo "× OS: ${1}"
|
||||
exit 2
|
||||
}
|
||||
|
||||
cd_install_package () {
|
||||
if [ "${1}" ] ; then
|
||||
case "${CD_OS_NAME}" in
|
||||
|
|
Loading…
Reference in a new issue