scripts/showSamples.sh
changeset 124 851120479fb9
parent 74 7987069e8312
child 126 cf871e2cccc9
     1.1 --- a/scripts/showSamples.sh	Tue May 08 10:57:34 2007 +0000
     1.2 +++ b/scripts/showSamples.sh	Tue May 22 21:18:55 2007 +0000
     1.3 @@ -11,12 +11,11 @@
     1.4      local width="$1"
     1.5      local sample="$2"
     1.6      . "${CT_TOP_DIR}/samples/${sample}/crosstool.config"
     1.7 -    # Build the components string
     1.8 -    local str="${CT_KERNEL}-${CT_KERNEL_VERSION}"
     1.9 -    str="${str} binutils-${CT_BINUTILS_VERSION}"
    1.10 -    str="${str} ${CT_CC}-${CT_CC_VERSION}"
    1.11 -    str="${str} ${CT_LIBC}-${CT_LIBC_VERSION}"
    1.12 -    printf "  %-*s - %s\n" ${width} "${sample}" "${str}"
    1.13 +    printf "  %-*s" ${width} "${sample}"
    1.14 +    [ -f "${CT_TOP_DIR}/samples/${sample}/broken" ] && printf "  (broken)"
    1.15 +    echo
    1.16 +    echo "    | ${CT_KERNEL}-${CT_KERNEL_VERSION} binutils-${CT_BINUTILS_VERSION}"
    1.17 +    echo "    \ ${CT_CC}-${CT_CC_VERSION} ${CT_LIBC}-${CT_LIBC_VERSION}"
    1.18  }
    1.19  
    1.20  # Get largest sample width