Fix tools.sh and debug.sh now the tools/ and debug/ sub-dirs are numerically sorted.

/trunk/scripts/build/debug.sh |    4     2     2     0 ++--
 /trunk/scripts/build/tools.sh |    4     2     2     0 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
This commit is contained in:
Yann E. MORIN" 2008-05-03 09:53:49 +00:00
parent 1dc26cbbcd
commit a056fa7341
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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