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(-)
1.1 --- a/scripts/build/debug.sh Fri May 02 22:47:43 2008 +0000
1.2 +++ b/scripts/build/debug.sh Sat May 03 09:53:49 2008 +0000
1.3 @@ -5,9 +5,9 @@
1.4 for f in "${CT_LIB_DIR}/scripts/build/debug/"*.sh; do
1.5 is_enabled=
1.6 . "${f}"
1.7 - f=$(basename "${f#???-}" .sh)
1.8 + f=$(basename "${f}" .sh)
1.9 if [ "${is_enabled}" = "y" ]; then
1.10 - CT_DEBUG_FACILITY_LIST="${CT_DEBUG_FACILITY_LIST} ${f}"
1.11 + CT_DEBUG_FACILITY_LIST="${CT_DEBUG_FACILITY_LIST} ${f#???-}"
1.12 fi
1.13 done
1.14
2.1 --- a/scripts/build/tools.sh Fri May 02 22:47:43 2008 +0000
2.2 +++ b/scripts/build/tools.sh Sat May 03 09:53:49 2008 +0000
2.3 @@ -5,9 +5,9 @@
2.4 for f in "${CT_LIB_DIR}/scripts/build/tools/"*.sh; do
2.5 is_enabled=
2.6 . "${f}"
2.7 - f=$(basename "${f#???-}" .sh)
2.8 + f=$(basename "${f}" .sh)
2.9 if [ "${is_enabled}" = "y" ]; then
2.10 - CT_TOOLS_FACILITY_LIST="${CT_TOOLS_FACILITY_LIST} ${f}"
2.11 + CT_TOOLS_FACILITY_LIST="${CT_TOOLS_FACILITY_LIST} ${f#???-}"
2.12 fi
2.13 done
2.14