aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-checkparams
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-17 20:40:01 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-05-17 20:40:01 +0900
commite1f51cc9978f23daae3de89df4efc21446f7bd55 (patch)
tree4400fa07c92cfc4011391bae6074ccedab42bd36 /pbuilder-checkparams
parentfb49987a3a0772ddf957b4d8a0ea6cd561671262 (diff)
downloadpbuilder-e1f51cc9978f23daae3de89df4efc21446f7bd55.tar
pbuilder-e1f51cc9978f23daae3de89df4efc21446f7bd55.tar.gz
use tee instead of not outputting anything for logging mode.
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-xpbuilder-checkparams2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams
index ee10e2d..89cda72 100755
--- a/pbuilder-checkparams
+++ b/pbuilder-checkparams
@@ -137,7 +137,7 @@ while [ -n "$1" ]; do
;;
--logfile)
echo " -> Logging to $2"
- exec > "$2";
+ exec > >(tee "$2");
exec 2>&1
PBUILDER_BUILD_LOGFILE=$(readlink -f "$2")
shift; shift;