diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-13 17:14:25 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-13 17:14:25 +0100 |
commit | 5b2af749e5cb111cbdd278f5d35970905f783f07 (patch) | |
tree | 216c7221132df50325dd8626ea062e2e0cc1bf99 /pbuilder-checkparams | |
parent | d2b1fc3aaf80035f8999fc947a7536c476321aea (diff) | |
download | pbuilder-5b2af749e5cb111cbdd278f5d35970905f783f07.tar pbuilder-5b2af749e5cb111cbdd278f5d35970905f783f07.tar.gz |
Factor "exec >" + "exec 2>&1" together
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 6d24221..289ae38 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -148,8 +148,7 @@ while [ -n "$1" ]; do ;; --logfile) log "I: Logging to $2" - exec > >(tee "$2"); - exec 2>&1 + exec > >(tee "$2") 2>&1 PBUILDER_BUILD_LOGFILE=$(readlink -f "$2") shift; shift; ;; |