diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-04-30 11:26:08 +0200 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-04-30 11:26:08 +0200 |
commit | 907bd31236a1b9ce11702cbd1ec792a07d74ab60 (patch) | |
tree | 1d24fdf9810c38e4c54983d65bcfcd6607d4fefd /subr/ex_pkg_exec.subr | |
parent | e7f40a6a3266a5072c7a2a9a75722b7743ca3b02 (diff) | |
download | midipix_build-907bd31236a1b9ce11702cbd1ec792a07d74ab60.tar.bz2 midipix_build-907bd31236a1b9ce11702cbd1ec792a07d74ab60.tar.xz |
Correctly (zero-)initialise all locals.
Diffstat (limited to 'subr/ex_pkg_exec.subr')
-rw-r--r-- | subr/ex_pkg_exec.subr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/ex_pkg_exec.subr b/subr/ex_pkg_exec.subr index 76294763..7092dad3 100644 --- a/subr/ex_pkg_exec.subr +++ b/subr/ex_pkg_exec.subr @@ -23,7 +23,7 @@ exp_pkg_exec_pre() { ex_pkg_exec() { local _pkg_name="${1}" _tgt_name="${2}" _restart_at="${3}" \ - _step _step_cmd _step_cmd_pfx _step_rc; + _step="" _step_cmd="" _step_cmd_pfx="" _step_rc=""; trap "if [ \${?} -eq 0 ]; then \ echo \"done ${_pkg_name} ${_tgt_name}\" >&3; \ else \ |