diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-03 09:53:49 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-03 09:53:49 +0000 |
commit | a056fa734148fe390bcf0282dbe42f083114719f (patch) | |
tree | 9a5736ed448bcbfeb5cf8da686cfec2b207637d8 | |
parent | 1dc26cbbcd89c126f9b8435acfff23fbb7e4c24f (diff) | |
download | crosstool-ng-a056fa734148fe390bcf0282dbe42f083114719f.tar.gz crosstool-ng-a056fa734148fe390bcf0282dbe42f083114719f.tar.bz2 crosstool-ng-a056fa734148fe390bcf0282dbe42f083114719f.zip |
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(-)
-rw-r--r-- | scripts/build/debug.sh | 4 | ||||
-rw-r--r-- | scripts/build/tools.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/debug.sh b/scripts/build/debug.sh index 84dbd75c..54412298 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 55869c4a..693893cd 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 |