aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage
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-buildpackage
parentfb49987a3a0772ddf957b4d8a0ea6cd561671262 (diff)
downloadpbuilder-e1f51cc9978f23daae3de89df4efc21446f7bd55.tar
pbuilder-e1f51cc9978f23daae3de89df4efc21446f7bd55.tar.gz
use tee instead of not outputting anything for logging mode.
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-xpbuilder-buildpackage2
1 files changed, 1 insertions, 1 deletions
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"