aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-02-17 02:49:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-02-17 02:49:35 +0300
commit801aca22a64f60c2e431d042126b925ff10cf195 (patch)
treefb1e5948aa0bb10715b2458d9d649e891275a54c /%HOME%
parentPS1 update (diff)
downloadlinux-home-801aca22a64f60c2e431d042126b925ff10cf195.tar.gz
linux-home-801aca22a64f60c2e431d042126b925ff10cf195.zip
runc*: no .exe extensions
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.bash_utils/cxx.sh8
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[@]}"} \