diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-02-17 02:49:35 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-02-17 02:49:35 +0300 |
commit | 801aca22a64f60c2e431d042126b925ff10cf195 (patch) | |
tree | fb1e5948aa0bb10715b2458d9d649e891275a54c | |
parent | PS1 update (diff) | |
download | linux-home-801aca22a64f60c2e431d042126b925ff10cf195.tar.gz linux-home-801aca22a64f60c2e431d042126b925ff10cf195.zip |
runc*: no .exe extensions
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bash_utils/cxx.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/%HOME%/.bash_utils/cxx.sh b/%HOME%/.bash_utils/cxx.sh index db006d2..1cd3f3e 100644 --- a/%HOME%/.bash_utils/cxx.sh +++ b/%HOME%/.bash_utils/cxx.sh @@ -61,7 +61,7 @@ runc() ( prog_args=("$@") if [ "${#src_files[@]}" -eq 0 ]; then - _runc_usage 'requires at least one source file path' >&2 + _runc_usage 'at least one source file is required' >&2 return 1 fi @@ -80,7 +80,7 @@ runc() ( pushd "$build_dir" > /dev/null local output_name - output_name="$( mktemp --tmpdir=. -- "${FUNCNAME[0]}XXX.exe" )" + output_name="$( mktemp --tmpdir=. -- "${FUNCNAME[0]}XXX" )" "${runc_compiler:-gcc}" -o "$output_name" \ ${c_flags[@]+"${c_flags[@]}"} \ @@ -139,7 +139,7 @@ runcxx() ( prog_args=("$@") if [ "${#src_files[@]}" -eq 0 ]; then - _runcxx_usage 'requires at least one source file path' >&2 + _runcxx_usage 'at least one source file is required' >&2 return 1 fi @@ -158,7 +158,7 @@ runcxx() ( pushd "$build_dir" > /dev/null local output_name - output_name="$( mktemp --tmpdir=. -- "${FUNCNAME[0]}XXX.exe" )" + output_name="$( mktemp --tmpdir=. -- "${FUNCNAME[0]}XXX" )" "${runcxx_compiler:-g++}" -o "$output_name" \ ${cxx_flags[@]+"${cxx_flags[@]}"} \ |