summaryrefslogtreecommitdiff
path: root/scripts/build/tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/tools.sh')
-rw-r--r--scripts/build/tools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/tools.sh b/scripts/build/tools.sh
index 55869c4..693893c 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