diff options
Diffstat (limited to '.bashrc_cxx')
-rw-r--r-- | .bashrc_cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.bashrc_cxx b/.bashrc_cxx index 6945590..af11332 100644 --- a/.bashrc_cxx +++ b/.bashrc_cxx @@ -9,11 +9,11 @@ fi C_FLAGS=('-Wall' '-Wextra') runc() ( - set -o errexit + set -o errexit -o nounset -o pipefail local -a c_flags=("${C_FLAGS[@]}") - local -a src_files=() - local -a prog_flags=() + local -a src_files + local -a prog_flags while [ "$#" -gt 0 ]; do case "$1" in @@ -65,11 +65,11 @@ runc() ( CXX_FLAGS=('-Wall' '-Wextra' '-std=c++14') runcxx() ( - set -o errexit + set -o errexit -o nounset -o pipefail local cxx_flags=("${CXX_FLAGS[@]}") - local -a src_files=() - local -a prog_flags=() + local -a src_files + local -a prog_flags while [ "$#" -gt 0 ]; do case "$1" in |