From c833e6e6f53d9a33b0f6240552251c0ac50258dd Mon Sep 17 00:00:00 2001
From: David Hoese <david.hoese@ssec.wisc.edu>
Date: Tue, 6 Jun 2023 13:53:08 -0500
Subject: [PATCH] Fix environment sourcing on rocky

---
 ci/build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/build.sh b/ci/build.sh
index 8199a374..4a5c1d45 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
-- 
GitLab