This commit is contained in:
2025-07-02 18:00:01 -05:00
parent 5deaecd79f
commit d76613c0dc
2 changed files with 6 additions and 15 deletions

View File

@ -1,19 +1,17 @@
#!/bin/bash #!/bin/bash
#Framework variables are read from hee #Framework variables are read from hee
source $PROJECT_ROOT_PATH/Framework-Includes/FrameworkVars source $PROJECT_ROOT_PATH/Framework-ConfigFiles/FrameworkVars
#Boilerplate and support functions #Boilerplate and support functions
for framework_include_file in ../Framework-Includes/*; do for framework_include_file in ../Framework-Includes/*; do
source "$framework_include_file" source "$framework_include_file"
done done
unset IFS
for project_include_file in ../Project-Includes/*; do for project_include_file in ../Project-Includes/*; do
source "$project_include_file" source "$project_include_file"
done done
unset IFS
# Actual script logic starts here # Actual script logic starts here

View File

@ -8,23 +8,16 @@ export PROJECT_ROOT_PATH
PROJECT_ROOT_PATH="$(realpath ../)" PROJECT_ROOT_PATH="$(realpath ../)"
#Framework variables are read from hee #Framework variables are read from hee
source $PROJECT_ROOT_PATH/Framework-Includes/FrameworkVars source $PROJECT_ROOT_PATH/Framework-ConfigFiles/FrameworkVars
#Boilerplate and support functions
FrameworkIncludeFiles="$(ls -1 --color=none ../Framework-Includes/*)"
IFS=$'\n\t' for framework_include_file in ../Framework-Includes/*; do
for file in "${FrameworkIncludeFiles[@]}"; do source "$framework_include_file"
source "$file"
done done
unset IFS
ProjectIncludeFiles="$(ls -1 --color=none ../Project-Includes/*)" for project_include_file in ../Project-Includes/*; do
IFS=$'\n\t' source "$project_include_file"
for file in "${ProjectIncludeFiles[@]}"; do
source "$file"
done done
unset IFS
# Start actual script logic here... # Start actual script logic here...