[pbuilder] 02/03: buildpackage-funcs: wrap this awfully long PBUILDERSATISFYDEPENDSCMD invocation

Mattia Rizzolo mattia at debian.org
Sun May 1 22:43:21 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 fd979fc6ecd22058b5154899bb865f4624deaccb
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun May 1 21:53:24 2016 +0000

    buildpackage-funcs: wrap this awfully long PBUILDERSATISFYDEPENDSCMD invocation
    
    Gbp-Dch: Ignore
---
 pbuilder-buildpackage-funcs | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index 42a3e1b..ed9587d 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -53,7 +53,14 @@ function checkbuilddep () {
         all) BUILDOPT="--binary-indep";;
         *) ;;
     esac
-    if "$PBUILDERSATISFYDEPENDSCMD" --control "$1" --chroot "${BUILDPLACE}" --internal-chrootexec "${CHROOTEXEC}" "${BUILDOPT}" "${PBUILDERSATISFYDEPENDSOPT[@]}"; then
+    if \
+        ("$PBUILDERSATISFYDEPENDSCMD" \
+            --control "$1" \
+            --chroot "${BUILDPLACE}" \
+            --internal-chrootexec "${CHROOTEXEC}" \
+            "${BUILDOPT}" \
+            "${PBUILDERSATISFYDEPENDSOPT[@]}"); \
+    then
         :
     else
         # If asked to preserve the build place, and pbuilder-satisfydepends

-- 
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