From 801aca22a64f60c2e431d042126b925ff10cf195 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 17 Feb 2017 02:49:35 +0300 Subject: runc*: no .exe extensions --- %HOME%/.bash_utils/cxx.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '%HOME%') 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[@]}"} \ -- cgit v1.2.3