diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | debian/changelog | 4 | ||||
-rwxr-xr-x | pbuilder-buildpackage | 2 | ||||
-rwxr-xr-x | pbuilder-checkparams | 2 |
4 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2007-05-17 Junichi Uekawa <dancer@debian.org> + + * pbuilder-checkparams: + * pbuilder-buildpackage: use tee so that user can see what's being logged. + 2007-05-14 Junichi Uekawa <dancer@debian.org> * Documentation/pbuilder-doc.ja.po: diff --git a/debian/changelog b/debian/changelog index 698fc94..6196310 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,13 +7,15 @@ pbuilder (0.167) UNRELEASED; urgency=low add more pbuilder-test documentation. * shut up lintian about binnmuability. Use {source:Version} instead of Source-Version, according to http://wiki.debian.org/binNMU + * Use 'tee' to show output even in logged mode. [ Loic Minier ] * Tune aptitude opts in pbuilder-satisfydepends-aptitude to handle complex dependencies in experimental, to support unsigned APT repositories, and to not install Recommends. - -- Junichi Uekawa <dancer@debian.org> Mon, 14 May 2007 00:40:51 +0900 + -- Junichi Uekawa <dancer@debian.org> Thu, 17 May 2007 20:39:04 +0900 + pbuilder (0.166) unstable; urgency=low diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 08c4c66..0c9b8f1 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -70,7 +70,7 @@ fi if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then if [ "${PKGNAME_LOGFILE}" = "yes" ]; then PBUILDER_BUILD_LOGFILE="${BUILDRESULT}/"$(basename "${PACKAGENAME}" .dsc)"${PKGNAME_LOGFILE_EXTENTION}" - exec > "${PBUILDER_BUILD_LOGFILE}" + exec > >(tee "${PBUILDER_BUILD_LOGFILE}") exec 2>&1 PBUILDER_BUILD_LOGFILE=$(readlink -f "${PBUILDER_BUILD_LOGFILE}") echo "I: Using pkgname logfile" 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; |