commit: df0333a02c6363b79e61c79af858c5f58dd7e465 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Sun Apr 3 17:21:34 2022 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sun Apr 3 17:26:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0333a0
sys-cluster/k3s: fix init script bashisms Closes: https://bugs.gentoo.org/836614 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> sys-cluster/k3s/files/k3s.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/k3s/files/k3s.initd b/sys-cluster/k3s/files/k3s.initd index c2cc17309d40..874052701a7d 100644 --- a/sys-cluster/k3s/files/k3s.initd +++ b/sys-cluster/k3s/files/k3s.initd @@ -27,6 +27,6 @@ start() { } set -o allexport -if [ -f /etc/environment ]; then source /etc/environment; fi -if [ -f /etc/rancher/k3s/k3s.env ]; then source /etc/rancher/k3s/k3s.env; fi +if [ -f /etc/environment ]; then . /etc/environment; fi +if [ -f /etc/rancher/k3s/k3s.env ]; then . /etc/rancher/k3s/k3s.env; fi set +o allexport