scripts/build/arch/sparc.sh
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Mon Jan 28 21:53:18 2013 +0100 (2013-01-28)
changeset 3176 20f2459b97bf
parent 2371 c131e30363ee
child 3323 99029fac116b
permissions -rw-r--r--
scripts: fix finishing the toolchain when download/extract-only is set

In case we only download or extract the sources, do not fail while
finishing the toolchain: the test-suite directory may not exist, so
we can't chmod it.

Also, use safer constructs that won't trigger the 'set -e' in case of
failure (eg.: "[ ... ] && ..." is not safe in case the test fails).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # Compute sparc-specific values
     2 CT_DoArchTupleValues() {
     3     # That's the only thing to override
     4     if [ "${CT_ARCH_64}" = "y" ]; then
     5         CT_TARGET_ARCH="sparc64${CT_ARCH_SUFFIX}"
     6     fi
     7 
     8 }