From 81c82c5c2a024d176caec926d3975bb47301ada2 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 18 Jul 2016 21:36:54 +0300 Subject: code style --- .bashrc | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/.bashrc b/.bashrc index 47deb7d..e986c91 100644 --- a/.bashrc +++ b/.bashrc @@ -278,20 +278,13 @@ runc() ( echo "$FUNCNAME: usage error: missing value for option: $1" >&2 return 1 fi - shift - c_flags+=("$1") - shift - ;; + shift ; c_flags+=("$1") ; shift ;; --) - shift - break - ;; + shift ; break ;; *) - src_files+=("$( realpath "$1" )") - shift - ;; + src_files+=("$( realpath "$1" )") ; shift ;; esac done @@ -325,20 +318,13 @@ runcxx() ( echo "$FUNCNAME: usage error: missing value for option: $1" >&2 return 1 fi - shift - cxx_flags+=("$1") - shift - ;; + shift ; cxx_flags+=("$1") ; shift ;; --) - shift - break - ;; + shift ; break ;; *) - src_files+=("$( realpath "$1" )") - shift - ;; + src_files+=("$( realpath "$1" )") ; shift ;; esac done -- cgit v1.2.3