diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/build.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cmd/build.sh b/src/cmd/build.sh index 733817e..f7d6716 100644 --- a/src/cmd/build.sh +++ b/src/cmd/build.sh @@ -113,7 +113,6 @@ cmd_build_main() local source= local version= local log= - local tmp_fd= local es= if [ ${#} -lt 2 ]; then @@ -186,8 +185,6 @@ cmd_build_main() log="${_cmd_build_pkg_dir}/../$(: \ )${source}_${version}_${host_arch}_${host_plat}.log" - fdalloc - tmp_fd=${FD} es=0 { { @@ -195,9 +192,9 @@ cmd_build_main() set +e _cmd_build_build "${host_arch}" "${host_plat}" \ "${@}" 2>&1 - printf '%d' ${?} 1>&${tmp_fd} + printf '%d' ${?} 1>&3 } | tee "${log}" 1>&2 - } ${tmp_fd}>&1 | { + } 3>&1 | { read es exit ${es} } |