scripts/showsamples: fix non-POSIX construct

This commit is contained in:
Yann E. MORIN" 2010-02-07 17:17:52 +01:00
parent 013230cda9
commit c971f6ee33

View File

@ -25,7 +25,7 @@ dump_single_sample() {
sample_type="l" sample_type="l"
sample="${current_tuple}" sample="${current_tuple}"
width="${#sample}" width="${#sample}"
. .config . $(pwd)/.config
;; ;;
*) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then *) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then
sample_top="${CT_TOP_DIR}" sample_top="${CT_TOP_DIR}"