aboutsummaryrefslogtreecommitdiff
path: root/pdebuild-uml-checkparams
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-13 17:14:25 +0100
committerLoïc Minier <lool@dooz.org>2009-12-13 17:14:25 +0100
commit5b2af749e5cb111cbdd278f5d35970905f783f07 (patch)
tree216c7221132df50325dd8626ea062e2e0cc1bf99 /pdebuild-uml-checkparams
parentd2b1fc3aaf80035f8999fc947a7536c476321aea (diff)
downloadpbuilder-5b2af749e5cb111cbdd278f5d35970905f783f07.tar
pbuilder-5b2af749e5cb111cbdd278f5d35970905f783f07.tar.gz
Factor "exec >" + "exec 2>&1" together
Diffstat (limited to 'pdebuild-uml-checkparams')
-rw-r--r--pdebuild-uml-checkparams3
1 files changed, 1 insertions, 2 deletions
diff --git a/pdebuild-uml-checkparams b/pdebuild-uml-checkparams
index fea4ff2..ea428a6 100644
--- a/pdebuild-uml-checkparams
+++ b/pdebuild-uml-checkparams
@@ -35,8 +35,7 @@ UML_LOGIN_NOCOW=
while [ -n "$1" ] ; do
case "$1" in
--logfile)
- exec > >(tee "$2");
- exec 2>&1
+ exec > >(tee "$2") 2>&1
shift;shift;;
--auto-debsign)
AUTO_DEBSIGN="yes"