summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index ba06c3e4..aa4b4b59 100755
--- a/build.sh
+++ b/build.sh
@@ -20,7 +20,8 @@ buildp_ast() {
if [ -n "${_pids}" ]; then
rtl_log_msg notice "Killed PID(s): %s" "$(rtl_uniq ${_pids})";
fi;
- if [ -n "${EX_PKG_DISPATCH_WAIT}" ]; then
+ if [ -n "${EX_PKG_DISPATCH_WAIT}" ]\
+ && [ "${ARG_RESET_PKG}" -eq 1 ]; then
for _pkg_name in ${EX_PKG_DISPATCH_WAIT}; do
rtl_state_clear "${BUILD_WORKDIR}" "${_pkg_name}";
done;