From 0db31720420875804987d11f999e5fb3744a28ad Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 4 Jul 2015 21:46:01 +0000 Subject: ex/D65: use spaces instead of intendation (equally) Gbp-Dch: Ignore --- examples/D65various-compiler-support | 42 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'examples/D65various-compiler-support') diff --git a/examples/D65various-compiler-support b/examples/D65various-compiler-support index 13eaac0..7b5cd0f 100644 --- a/examples/D65various-compiler-support +++ b/examples/D65various-compiler-support @@ -23,29 +23,29 @@ case "${CHOOSE_COMPILER}" in ;; clang-*) use_clang_version=$(echo ${CHOOSE_COMPILER} | sed -e s/clang-//) - clang_package=clang-"${use_clang_version}" - newcc=/usr/bin/clang-"${use_clang_version}" - newcxx=/usr/bin/clang++-"${use_clang_version}" - ;; + clang_package=clang-"${use_clang_version}" + newcc=/usr/bin/clang-"${use_clang_version}" + newcxx=/usr/bin/clang++-"${use_clang_version}" + ;; gcc-*) use_gcc_version=$(echo ${CHOOSE_COMPILER} | sed -e s/gcc-//) - gxx_package=g++-"${use_gcc_version}" - newcc=/usr/bin/"${CHOOSE_COMPILER}" - newcxx=/usr/bin/g++-"${use_gcc_version}" - ;; + gxx_package=g++-"${use_gcc_version}" + newcc=/usr/bin/"${CHOOSE_COMPILER}" + newcxx=/usr/bin/g++-"${use_gcc_version}" + ;; tcc) - newcc=/usr/bin/"${CHOOSE_COMPILER}" - newcxx=/bin/false - not_gcc_compat=1 - ;; + newcc=/usr/bin/"${CHOOSE_COMPILER}" + newcxx=/bin/false + not_gcc_compat=1 + ;; pcc) - newcc=/usr/bin/"${CHOOSE_COMPILER}" - newcxx=/bin/false - not_gcc_compat=1 - ;; + newcc=/usr/bin/"${CHOOSE_COMPILER}" + newcxx=/bin/false + not_gcc_compat=1 + ;; *) - exit 0 - ;; + exit 0 + ;; esac apt-get -y install "${CHOOSE_COMPILER}" ${gxx_package} ${clang_package} @@ -60,9 +60,9 @@ ln -sf "${newcxx}" /usr/bin/c++ if [ -z "${not_gcc_compat}" ]; then ( - cd /usr/bin - ln -sf "$newcc" gcc - ln -sf "$newcxx" g++ + cd /usr/bin + ln -sf "$newcc" gcc + ln -sf "$newcxx" g++ ) else rm -f /usr/bin/gcc /usr/bin/g++ -- cgit v1.2.3