1.1 --- a/scripts/showSamples.sh Fri Mar 19 18:46:57 2010 +0100
1.2 +++ b/scripts/showSamples.sh Sun Mar 20 00:53:41 2011 +0100
1.3 @@ -30,10 +30,10 @@
1.4 ;;
1.5 *) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then
1.6 sample_top="${CT_TOP_DIR}"
1.7 - sample_type="l"
1.8 + sample_type="L"
1.9 else
1.10 sample_top="${CT_LIB_DIR}"
1.11 - sample_type="g"
1.12 + sample_type="G"
1.13 fi
1.14 . "${sample_top}/samples/${sample}/crosstool.config"
1.15 ;;
1.16 @@ -174,6 +174,8 @@
1.17 printf "^ Initially\\\\\\\\ reported by "
1.18 printf "^ Last\\\\\\\\ updated "
1.19 echo "^"
1.20 +elif [ -z "${opt}" ]; then
1.21 + printf "%-*s Status\n" ${width} "Sample name"
1.22 fi
1.23
1.24 for sample in "${@}"; do
1.25 @@ -184,8 +186,8 @@
1.26 printf "^ Total: ${#@} samples || **X**: sample uses features marked as being EXPERIMENTAL.\\\\\\\\ **B**: sample is curently BROKEN. |||||||||||||"
1.27 echo ""
1.28 elif [ -z "${opt}" ]; then
1.29 - echo ' l (local) : sample was found in current directory'
1.30 - echo ' g (global) : sample was installed with crosstool-NG'
1.31 + echo ' L (Local) : sample was found in current directory'
1.32 + echo ' G (Global) : sample was installed with crosstool-NG'
1.33 echo ' X (EXPERIMENTAL): sample may use EXPERIMENTAL features'
1.34 echo ' B (BROKEN) : sample is currently broken'
1.35 fi