summaryrefslogtreecommitdiffstats
path: root/packages/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src')
-rw-r--r--packages/base/src/files/etc/profile.d/env.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/base/src/files/etc/profile.d/env.sh b/packages/base/src/files/etc/profile.d/env.sh
index 5a58940f..00f61df4 100644
--- a/packages/base/src/files/etc/profile.d/env.sh
+++ b/packages/base/src/files/etc/profile.d/env.sh
@@ -35,11 +35,13 @@ if [[ -z "${POLICY_HOME}" ]]; then
fi
fi
+confs=$(ls "${POLICY_HOME}"/etc/profile.d/*.conf 2> /dev/null)
+c=
+
set -a
POLICY_HOME=${POLICY_HOME:=/opt/app/policy}
-confs=$(ls "${POLICY_HOME}"/etc/profile.d/*.conf 2> /dev/null)
for c in ${confs} ; do
source ${c}
done