diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-18 21:36:54 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-18 21:36:54 +0300 |
commit | 81c82c5c2a024d176caec926d3975bb47301ada2 (patch) | |
tree | c24169667c3913616818e41be0281332a9273e1e | |
parent | runc*: add command line options (diff) | |
download | linux-home-81c82c5c2a024d176caec926d3975bb47301ada2.tar.gz linux-home-81c82c5c2a024d176caec926d3975bb47301ada2.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | .bashrc | 26 |
1 files changed, 6 insertions, 20 deletions
@@ -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 |