[pbuilder] 01/01: modules: add_additional_aptkeyrings: fix inverted boolean condition
    Mattia Rizzolo 
    mattia at debian.org
       
    Sat Sep 10 17:15:12 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 840c6ef051a98f141d9cc378b62cf3c024f7d500
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Sep 10 17:14:45 2016 +0000
    modules: add_additional_aptkeyrings: fix inverted boolean condition
    
    Gbp-Dch: Ignore
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pbuilder-modules b/pbuilder-modules
index 52326ab..6e2377f 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -808,7 +808,7 @@ function add_additional_aptkeyrings() {
         mkdir -p "${BUILDPLACE}/etc/apt/trusted.gpg.d"
         log.i "copying apt key file ${KEY} to ${dest}"
         if [ -f "${dest}" ]; then
-            if cmp -s "${KEY}" "${dest}" ; then
+            if ! cmp -s "${KEY}" "${dest}" ; then
                 log.w "overwriting existing and different keyring"
             fi
         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