diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-07-04 21:46:01 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-07-04 21:50:39 +0000 |
commit | 0db31720420875804987d11f999e5fb3744a28ad (patch) | |
tree | ee524c051ca920d8aaa627f2234eeee6805e318a /examples | |
parent | 2fc2345ff0c6b239df3ee39ee3a8d12c00f3cc7e (diff) | |
download | pbuilder-0db31720420875804987d11f999e5fb3744a28ad.tar pbuilder-0db31720420875804987d11f999e5fb3744a28ad.tar.gz |
ex/D65: use spaces instead of intendation (equally)
Gbp-Dch: Ignore
Diffstat (limited to 'examples')
-rw-r--r-- | examples/D65various-compiler-support | 42 |
1 files changed, 21 insertions, 21 deletions
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++ |