diff -r 4220dec659c6 -r a6a4beab3125 scripts/showSamples.sh --- a/scripts/showSamples.sh Fri Mar 19 18:46:57 2010 +0100 +++ b/scripts/showSamples.sh Fri Apr 02 00:18:26 2010 +0200 @@ -30,10 +30,10 @@ ;; *) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then sample_top="${CT_TOP_DIR}" - sample_type="l" + sample_type="L" else sample_top="${CT_LIB_DIR}" - sample_type="g" + sample_type="G" fi . "${sample_top}/samples/${sample}/crosstool.config" ;; @@ -174,6 +174,8 @@ printf "^ Initially\\\\\\\\ reported by " printf "^ Last\\\\\\\\ updated " echo "^" +elif [ -z "${opt}" ]; then + printf "%-*s Status\n" ${width} "Sample name" fi for sample in "${@}"; do @@ -184,8 +186,8 @@ printf "^ Total: ${#@} samples || **X**: sample uses features marked as being EXPERIMENTAL.\\\\\\\\ **B**: sample is curently BROKEN. |||||||||||||" echo "" elif [ -z "${opt}" ]; then - echo ' l (local) : sample was found in current directory' - echo ' g (global) : sample was installed with crosstool-NG' + echo ' L (Local) : sample was found in current directory' + echo ' G (Global) : sample was installed with crosstool-NG' echo ' X (EXPERIMENTAL): sample may use EXPERIMENTAL features' echo ' B (BROKEN) : sample is currently broken' fi