From 2fc2345ff0c6b239df3ee39ee3a8d12c00f3cc7e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 15 May 2014 18:48:55 +0200 Subject: Indent correctly the code Gbp-Dch: Ignore --- examples/D65various-compiler-support | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'examples') diff --git a/examples/D65various-compiler-support b/examples/D65various-compiler-support index bc86ccd..13eaac0 100644 --- a/examples/D65various-compiler-support +++ b/examples/D65various-compiler-support @@ -26,26 +26,26 @@ case "${CHOOSE_COMPILER}" in 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} -- cgit v1.2.3