From a056fa734148fe390bcf0282dbe42f083114719f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 3 May 2008 09:53:49 +0000 Subject: 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(-) diff --git a/scripts/build/debug.sh b/scripts/build/debug.sh index 84dbd75..5441229 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 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 -- cgit v0.10.2-6-g49f6