[PATCH] added work around for old debsign
Osamu Aoki
osamu at debian.org
Tue Jul 29 14:55:42 UTC 2008
Work around for devscript << 2.10.31, Bug#487999
This is not required if newer debsign, which no more interfares
with group write permission of the result directory, is used.
---
pbuilder-buildpackage | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index 18c781a..9264f95 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -67,6 +67,12 @@ if [ ! -d "${BUILDRESULT}" ]; then
fi
fi
+if [ -n "$PBMODEOPTION" ]; then
+ # only with new --mode, we use group result directory
+ chmod 2775 "${BUILDRESULT}"
+ chgrp "src" "${BUILDRESULT}"
+fi
+
if [ -z "${PBUILDER_BUILD_LOGFILE}" ]; then
if [ "${PKGNAME_LOGFILE}" = "yes" ]; then
PBUILDER_BUILD_LOGFILE="${BUILDRESULT}/"$(basename "${PACKAGENAME}" .dsc)"${PKGNAME_LOGFILE_EXTENTION}"
--
1.5.6.3
--HlL+5n6rz5pIUxbD
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0006-added-default-DISTRIBUTION-support-etc.patch"
More information about the Pbuilder-maint
mailing list