packaging: check -r before sourcing sysconfig in run_exegesis_and_push_fedora41.sh

This commit is contained in:
Hermes Agent committed 2026-12-02 23:03:12 +00:00
1 parent 5c904d70bb
commit 7acd619f4a
2 files changed
+3 -3

No files matched your search

@@ -31,7 +31,7 @@ run_checked() {
}
SYSCONFIG_FILE="${INGGLISH_SYSCONFIG_FILE:-/etc/sysconfig/ingglish-exegesis}"
if [[ -f "${SYSCONFIG_FILE}" ]]; then
if [[ -f "${SYSCONFIG_FILE}" && -r "${SYSCONFIG_FILE}" ]]; then
set -a
# shellcheck disable=SC1090
source "${SYSCONFIG_FILE}"