[pbuilder] 01/03: satisfydepends-gdebi: unbreak again

Mattia Rizzolo mattia at debian.org
Fri May 27 21:48:37 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 443b83489c9a6828cf106c1a9468358fa0945281
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri May 27 20:25:32 2016 +0000

    satisfydepends-gdebi: unbreak again
    
    I accidentally broke it in 59c810f7638020b6c9703afd36161d4b71653d4d
---
 pbuilder-satisfydepends-gdebi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-satisfydepends-gdebi b/pbuilder-satisfydepends-gdebi
index 1e8bf50..fd78425 100644
--- a/pbuilder-satisfydepends-gdebi
+++ b/pbuilder-satisfydepends-gdebi
@@ -23,7 +23,7 @@
 set -e
 
 function checkbuilddep_internal () {
-    if ! [ -x gdebi ]; then
+    if [ ! -x "$(which gdebi 2> /dev/null)" ]; then
         echo "E: You need the gdebi-core package to resolve build-deps using gdebi" >&2
         exit 1
     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