diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-04 02:50:05 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-04 02:50:05 -0800 |
commit | 85f98147f57b3001282fc0365be245b9c81a3a16 (patch) | |
tree | 5f5287226ebc2039b016deff29eea450409c900f /scripts/showSamples.sh | |
parent | 5ffc9ecd10dec73024f8e7f3815c7b2f0851ba56 (diff) | |
parent | b2f8afef8532247c60764fffc938898903c06a4c (diff) | |
download | crosstool-ng-85f98147f57b3001282fc0365be245b9c81a3a16.tar.gz crosstool-ng-85f98147f57b3001282fc0365be245b9c81a3a16.tar.bz2 crosstool-ng-85f98147f57b3001282fc0365be245b9c81a3a16.zip |
Merge pull request #233 from stilor/fix-build-all
Fix build-all
Diffstat (limited to 'scripts/showSamples.sh')
-rwxr-xr-x | scripts/showSamples.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index 684e1184..76609f25 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -23,10 +23,16 @@ dump_single_sample() { [ "$1" = "-v" ] && verbose=1 && shift [ "$1" = "-w" ] && wiki=1 && shift local sample="$1" + . $(pwd)/.config.sample case "${sample}" in current) sample_type="l" sample="$( ${CT_NG} show-tuple )" + case "${CT_TOOLCHAIN_TYPE}" in + canadian) + sample="${CT_HOST},$sample" + ;; + esac ;; *) if [ -f "${CT_TOP_DIR}/samples/${sample}/crosstool.config" ]; then sample_top="${CT_TOP_DIR}" @@ -37,7 +43,6 @@ dump_single_sample() { fi ;; esac - . $(pwd)/.config.sample if [ ${wiki} -eq 0 ]; then width=14 printf "[%s" "${sample_type}" |