diff options
author | Mark Ferrell <major@homeonderanged.org> | 2012-03-23 15:19:55 -0500 |
---|---|---|
committer | Mark Ferrell <major@homeonderanged.org> | 2012-03-23 15:19:55 -0500 |
commit | 83ec8f8cfdb0c77279820df71a0e56a58336feea (patch) | |
tree | e52e2e6954b9a50b6fbfb562c1cd1eed83c80a55 | |
parent | ac7ed5f5b6296227cce4c393843a341c884e867b (diff) |
Do not run in a subshell
* For whatever reason the subshell does not seem to obey 'set -e'.
Removing execution of pkg_compile() from the subshell as we don't
actually do anything after that which involves changing directories,
which was the majority of the reason for running in a subshell to
begin with.
-rwxr-xr-x | bin/builder/build-compile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/builder/build-compile b/bin/builder/build-compile index a078c19..d1e1132 100755 --- a/bin/builder/build-compile +++ b/bin/builder/build-compile @@ -41,6 +41,8 @@ echo "== ENV ==" > "${L}/compile.log" env >> "${L}/compile.log" echo "=========" >> "${L}/compile.log" -(set -e;cd "${S}" && pkg_compile >> "${L}/compile.log" 2>&1 && date --utc > ${L}/.compiled) +cd "${S}" +pkg_compile >> "${L}/compile.log" 2>&1 +date --utc > "${L}/.compiled" # vim: filetype=sh |