diff --git a/ci/build.sh b/ci/build.sh index 8199a3743e12be46539c3a9b804f9c3e81d1adbf..4a5c1d454f9f68fb992115dc139b3b9d2a27bbd1 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -9,8 +9,8 @@ if [[ "${os_kind}" == "ubuntu" ]]; then source /var/lib/gitlab-runner/.bashrc elif [[ "${os_kind}" == "pop" ]]; then source /var/lib/gitlab-runner/.bashrc -elif [[ "${os_kind}" == "centos" ]]; then - source ~/.bashrc +else + source ${HOME}/.bashrc fi if [[ -z "$METOBS_SITE_DEST" ]]; then