diff options
-rw-r--r-- | scripts/build/debug.sh | 4 | ||||
-rw-r--r-- | scripts/build/tools.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/debug.sh b/scripts/build/debug.sh index 84dbd75c..54412298 100644 --- a/scripts/build/debug.sh +++ b/scripts/build/debug.sh @@ -5,9 +5,9 @@ CT_DEBUG_FACILITY_LIST= for f in "${CT_LIB_DIR}/scripts/build/debug/"*.sh; do is_enabled= . "${f}" - f=$(basename "${f#???-}" .sh) + f=$(basename "${f}" .sh) if [ "${is_enabled}" = "y" ]; then - CT_DEBUG_FACILITY_LIST="${CT_DEBUG_FACILITY_LIST} ${f}" + CT_DEBUG_FACILITY_LIST="${CT_DEBUG_FACILITY_LIST} ${f#???-}" fi done diff --git a/scripts/build/tools.sh b/scripts/build/tools.sh index 55869c4a..693893cd 100644 --- a/scripts/build/tools.sh +++ b/scripts/build/tools.sh @@ -5,9 +5,9 @@ CT_TOOLS_FACILITY_LIST= for f in "${CT_LIB_DIR}/scripts/build/tools/"*.sh; do is_enabled= . "${f}" - f=$(basename "${f#???-}" .sh) + f=$(basename "${f}" .sh) if [ "${is_enabled}" = "y" ]; then - CT_TOOLS_FACILITY_LIST="${CT_TOOLS_FACILITY_LIST} ${f}" + CT_TOOLS_FACILITY_LIST="${CT_TOOLS_FACILITY_LIST} ${f#???-}" fi done |