diff options
author | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-05-17 20:40:01 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2007-05-17 20:40:01 +0900 |
commit | e1f51cc9978f23daae3de89df4efc21446f7bd55 (patch) | |
tree | 4400fa07c92cfc4011391bae6074ccedab42bd36 /pbuilder-checkparams | |
parent | fb49987a3a0772ddf957b4d8a0ea6cd561671262 (diff) | |
download | pbuilder-e1f51cc9978f23daae3de89df4efc21446f7bd55.tar pbuilder-e1f51cc9978f23daae3de89df4efc21446f7bd55.tar.gz |
use tee instead of not outputting anything for logging mode.
Diffstat (limited to 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 2 |
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; |