[pbuilder] 02/02: buildpackage: copy out of the chroot only files explicitly listed in the produced .changes
Mattia Rizzolo
mattia at debian.org
Fri Sep 2 12:56:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit 806db126b87b92a66f2c1ddc0e613b141a5e3e09
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Jul 23 10:56:38 2016 +0000
buildpackage: copy out of the chroot only files explicitly listed in the produced .changes
Closes: #492312
---
pbuilder-buildpackage | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage
index ffe3430..44394d1 100755
--- a/pbuilder-buildpackage
+++ b/pbuilder-buildpackage
@@ -216,7 +216,7 @@ executehooks "B"
if [ -d "${BUILDRESULT}" ]; then
chown "${BUILDRESULTUID}:${BUILDRESULTGID}" "${BUILDPLACE}$BUILDDIR/"*
chgrp "${BUILDRESULTGID}" "${BUILDPLACE}$BUILDDIR/"*
- for FILE in "${BUILDPLACE}$BUILDDIR"/*; do
+ for FILE in $(get822files "changes" "${BUILDPLACE}$BUILDDIR"/*.changes) ; do
if [ -f "${FILE}" ]; then
cp -p "${FILE}" "${BUILDRESULT}" || true
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list