lib: implement and sprinkle some very basic config var change-tracking across board/family sourcing and several hook calls

This commit is contained in:
Ricardo Pardini
2023-12-28 00:12:50 +01:00
committed by Igor
parent ea8953422a
commit bebf4c7ae0
5 changed files with 77 additions and 1 deletions

View File

@@ -550,6 +550,15 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
# shellcheck source=lib/functions/configuration/aggregation.sh
source "${SRC}"/lib/functions/configuration/aggregation.sh
# no errors tolerated. invoked before each sourced file to make sure.
#set -o pipefail # trace ERR through pipes - will be enabled "soon"
#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled
set -o errtrace # trace ERR through - enabled
set -o errexit ## set -e : exit the script if any statement returns a non-true return value - enabled
### lib/functions/configuration/change-tracking.sh
# shellcheck source=lib/functions/configuration/change-tracking.sh
source "${SRC}"/lib/functions/configuration/change-tracking.sh
# no errors tolerated. invoked before each sourced file to make sure.
#set -o pipefail # trace ERR through pipes - will be enabled "soon"
#set -o nounset ## set -u : exit the script if you try to use an uninitialised variable - one day will be enabled