[cowdancer] 02/04: cowbuilder: Pass --architecture to pbuilder when building

James Clarke jrtc27 at moszumanska.debian.org
Sun Jan 15 16:26:37 UTC 2017


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

jrtc27 pushed a commit to branch master
in repository cowdancer.

commit 2aedbd2de5d89abd21d4b72582aa1cadcb3eda97
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Sun Jan 15 15:50:19 2017 +0000

    cowbuilder: Pass --architecture to pbuilder when building
---
 cowbuilder.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cowbuilder.c b/cowbuilder.c
index 8afb871..3288697 100755
--- a/cowbuilder.c
+++ b/cowbuilder.c
@@ -346,6 +346,11 @@ int cpbuilder_build(const struct pbuilderconfig* pc, const char* dscfile_)
       PBUILDER_ADD_PARAM("--buildresult");
       PBUILDER_ADD_PARAM(pc->buildresult);
     }
+  if (pc->arch)
+    {
+      PBUILDER_ADD_PARAM("--architecture");
+      PBUILDER_ADD_PARAM(pc->arch);
+    }
   if (pc->extrapackages)
     {
       PBUILDER_ADD_PARAM("--extrapackages");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/cowdancer.git



More information about the Pbuilder-maint mailing list