diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-16 13:41:20 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-16 13:41:20 +0200 |
commit | 31c1c9c1a60295673e7e6c2d01b4194aead18c02 (patch) | |
tree | d26eb7c1ef6e671a175bfc4f0b64a822398875bf | |
parent | .ghci.conf: :set -XOverloadedStrings (diff) | |
download | linux-home-31c1c9c1a60295673e7e6c2d01b4194aead18c02.tar.gz linux-home-31c1c9c1a60295673e7e6c2d01b4194aead18c02.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | .bashrc_cxx | 8 | ||||
-rw-r--r-- | .bashrc_distr | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.bashrc_cxx b/.bashrc_cxx index e8a784e..49d4549 100644 --- a/.bashrc_cxx +++ b/.bashrc_cxx @@ -5,12 +5,12 @@ # For details, see https://github.com/egor-tensin/cygwin-home. # Distributed under the MIT License. -C_FLAGS=('-Wall' '-Wextra') +runc_flags=('-Wall' '-Wextra') runc() ( set -o errexit -o nounset -o pipefail - local -a c_flags=("${C_FLAGS[@]+"${C_FLAGS[@]}"}") + local -a c_flags=("${runc_flags[@]+"${runc_flags[@]}"}") local -a src_files local -a prog_flags @@ -61,12 +61,12 @@ runc() ( "$output_name" "${prog_flags[@]+"${prog_flags[@]}"}" ) -CXX_FLAGS=('-Wall' '-Wextra' '-std=c++14') +runcxx_flags=('-Wall' '-Wextra' '-std=c++14') runcxx() ( set -o errexit -o nounset -o pipefail - local -a cxx_flags=("${CXX_FLAGS[@]+"${CXX_FLAGS[@]}"}") + local -a cxx_flags=("${runcxx_flags[@]+"${runcxx_flags[@]}"}") local -a src_files local -a prog_flags diff --git a/.bashrc_distr b/.bashrc_distr index 06d342a..8e7b84c 100644 --- a/.bashrc_distr +++ b/.bashrc_distr @@ -5,7 +5,7 @@ # For details, see https://github.com/egor-tensin/cygwin-home. # Distributed under the MIT License. -checksums_path='sha1sums.txt' +readonly checksums_path='sha1sums.txt' update_checksums() { sha1sum -- "$@" > "$checksums_path" |