[pbuilder] 02/02: buildpackage: copy out of the chroot only files explicitly listed in the produced .changes

Mattia Rizzolo mattia at debian.org
Sat Jul 23 11:03:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch 822
in repository pbuilder.

commit 1485ec8ec326f6637158fc779379ea3092437509
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