Fix variable references and conditional debug flags

- Fix PROJECT_CONGIGS_FULL_PATH typo and incorrect assignment in project.sh
- Add missing $ in ProjectIncludes variable reference
- Remove redundant echo in print_error function
- Make debug flags conditional on script_debug variable in DebugMe.sh
- Add Claude-Todo.md documenting completed code review tasks

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-14 09:37:50 -05:00
parent 93323a60d6
commit 5ecde81ce4
4 changed files with 38 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ function DebugMe() {
# * print commands to be executed to stderr as if they were read from input
# (script file or keyboard)
# * print everything before any ( substitution and expansion, …) is applied
set -v
[[ $script_debug = 1 ]] && set -v
# * print everything as if it were executed, after substitution and expansion is applied
# * indicate the depth-level of the subshell (by default by prefixing a + (plus) sign to
@@ -28,6 +28,6 @@ set -v
# * indicate the recognized words after word splitting by marking them like 'x y'
# * in shell version 4.1, this debug output can be printed to a configurable file
#descriptor, rather than sdtout by setting the BASH_XTRACEFD variable.
set -x
[[ $script_debug = 1 ]] && set -x
}

View File

@@ -15,6 +15,5 @@ function print_error()
tput bold
echo -e "$RED $1${NC}"
echo -e "$RED $1${NC}" >> "$LOGFILENAME"
echo "$1"
tput sgr0
}