This commit is contained in:
2025-07-14 12:55:48 -05:00
parent 1f2bd31380
commit abfaf765e6
2 changed files with 17 additions and 5 deletions

View File

@@ -1,14 +1,16 @@
#!/bin/bash
#####
#########################################
#Core framework functions...
#####
#########################################
export PROJECT_ROOT_PATH
PROJECT_ROOT_PATH="$(realpath ../../../)"
#Framework variables are read from hee
export GIT_VENDOR_PATH_ROOT
GIT_VENDOR_PATH_ROOT="$PROJECT_ROOT_PATH/vendor/git@git.knownelement.com/29418/"
@@ -25,9 +27,14 @@ for project_include_file in ../../../Project-Includes/*; do
source "$project_include_file"
done
# Actual script logic starts here
#Framework variables are read from hee
source $KNELShellFrameworkRoot/Framework-ConfigFiles/FrameworkVars
#########################################
# Core script code begins here
#########################################
# Sourced from
# https://complianceascode.readthedocs.io/en/latest/manual/developer/01_introduction.html

View File

@@ -1,8 +1,8 @@
#!/bin/bash
#####
#########################################
#Core framework functions...
#####
#########################################
export PROJECT_ROOT_PATH
PROJECT_ROOT_PATH="$(realpath ../../../)"
@@ -29,6 +29,11 @@ done
#Framework variables are read from hee
source $KNELShellFrameworkRoot/Framework-ConfigFiles/FrameworkVars
#########################################
# Core script code begins here
#########################################
export SUBODEV_CHECK
SUBODEV_CHECK="$(getent passwd | grep -c subodev || true)"