summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-03 09:53:49 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-03 09:53:49 (GMT)
commita056fa734148fe390bcf0282dbe42f083114719f (patch)
tree9a5736ed448bcbfeb5cf8da686cfec2b207637d8 /scripts
parent1dc26cbbcd89c126f9b8435acfff23fbb7e4c24f (diff)
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(-)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/debug.sh4
-rw-r--r--scripts/build/tools.sh4
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