diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | pbuilder-user-mode-linux.1 | 2 | ||||
-rw-r--r-- | pbuilder.8 | 5 | ||||
-rw-r--r-- | pdebuild-checkparams | 2 | ||||
-rw-r--r-- | pdebuild-uml-checkparams | 2 | ||||
-rw-r--r-- | pdebuild.1 | 3 |
6 files changed, 13 insertions, 8 deletions
@@ -1,5 +1,12 @@ 2007-05-17 Junichi Uekawa <dancer@debian.org> + * pdebuild.1: + * pbuilder.8: + * pbuilder-user-mode-linux.1: update documentation. + + * pdebuild-uml-checkparams: use tee for --logfile + + * pdebuild-checkparams: * pbuilder-checkparams: * pbuilder-buildpackage: use tee so that user can see what's being logged. diff --git a/pbuilder-user-mode-linux.1 b/pbuilder-user-mode-linux.1 index 0908e2c..ede5de9 100644 --- a/pbuilder-user-mode-linux.1 +++ b/pbuilder-user-mode-linux.1 @@ -151,7 +151,7 @@ to switch distribution using .BI "\-\-logfile " "logfilename" Specify this option to make the output go to .I logfilename -instead of standard output. +as well as standard output. .TP .BI "\-\-buildresult " "/dir/to/build/result" @@ -357,9 +357,8 @@ Multiple options are delimited with spaces. .TP .BI "\-\-logfile [" "file to log" "]" Specifies the logfile to create. -The messages generated during execution will be written to the file, -instead of messages coming to the -standard output. +The messages generated during execution will be written to the specified file, +and the standard output. .TP .BI "\-\-pkgname\-logfile" diff --git a/pdebuild-checkparams b/pdebuild-checkparams index 345f146..e03808f 100644 --- a/pdebuild-checkparams +++ b/pdebuild-checkparams @@ -84,7 +84,7 @@ while [ -n "$1" ]; do ;; --logfile) echo " -> Logging to $2" - exec > "$2"; + exec > >(tee "$2"); exec 2>&1 shift; shift; ;; diff --git a/pdebuild-uml-checkparams b/pdebuild-uml-checkparams index ac90607..39727a0 100644 --- a/pdebuild-uml-checkparams +++ b/pdebuild-uml-checkparams @@ -35,7 +35,7 @@ UML_LOGIN_NOCOW= while [ -n "$1" ] ; do case "$1" in --logfile) - exec > "$2"; + exec > >(tee "$2"); exec 2>&1 shift;shift;; --auto-debsign) @@ -95,8 +95,7 @@ from the build scripts. .BI "\-\-logfile [" "file to log" "]" Specifies the logfile to create. The messages generated during execution will be written to the file, -instead of messages coming to the -standard output. +as well as standard output. .TP .BI "\-\-pbuilder [" "pbuilder" "]" |