[pbuilder] 05/07: pdebuild: Check new should_clean_source function before cleaning
Mattia Rizzolo
mattia at debian.org
Fri Jan 20 23:46:53 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository pbuilder.
commit 4cb4d90d06c4cfad4b2079fe8868ec79d2729489
Author: James Clarke <jrtc27 at debian.org>
Date: Thu Jan 19 15:15:30 2017 +0000
pdebuild: Check new should_clean_source function before cleaning
Closes: #851880
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
pdebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pdebuild b/pdebuild
index 397523e..3a64698 100644
--- a/pdebuild
+++ b/pdebuild
@@ -82,7 +82,9 @@ else
log.w "Unmet build-dependency in source"
fi
dpkg-source --before-build .
- "${BUILDSOURCEROOTCMD}" debian/rules clean
+ if should_clean_source; then
+ "${BUILDSOURCEROOTCMD}" debian/rules clean
+ fi
dpkg-source -b .
if ! [ "../${DSC}" -ef "${BUILDRESULT}/${DSC}" ]; then
log.i "Generating source changes file for original dsc"
--
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