From 92056c592ed4cee6cd1949d76fbbd81cde7b3173 Mon Sep 17 00:00:00 2001 From: Jean Flach Date: Wed, 18 Jul 2018 13:35:27 +0200 Subject: [PATCH] Use . instead of source fixes #6450 --- etc/initsystem/prepare-dirs.cmake | 2 +- etc/initsystem/safe-reload.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/initsystem/prepare-dirs.cmake b/etc/initsystem/prepare-dirs.cmake index d9b644b7a..ce155424d 100644 --- a/etc/initsystem/prepare-dirs.cmake +++ b/etc/initsystem/prepare-dirs.cmake @@ -6,7 +6,7 @@ # Load sysconf on systems where the initsystem does not pass the environment if [ "$1" != "" ]; then if [ -r "$1" ]; then - source "$1" + . "$1" else echo "Unable to read sysconf from '$1'. Exiting." && exit 6 fi diff --git a/etc/initsystem/safe-reload.cmake b/etc/initsystem/safe-reload.cmake index 44b261eae..c42994a30 100644 --- a/etc/initsystem/safe-reload.cmake +++ b/etc/initsystem/safe-reload.cmake @@ -3,7 +3,7 @@ # Load sysconf on systems where the initsystem does not pass the environment if [ "$1" != "" ]; then if [ -r "$1" ]; then - source "$1" + . "$1" else echo "Unable to read sysconf from '$1'. Exiting." && exit 6 fi -- 2.40.0