[pbuilder] 06/08: modules: copy_local_configuration(): make sure tocopy is local

Mattia Rizzolo mattia at debian.org
Wed Jun 22 12:17:45 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 ed7cb86c744d7154d0d933112cc58740f3e5655e
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Jun 22 11:26:10 2016 +0000

    modules: copy_local_configuration(): make sure tocopy is local
    
    Gbp-Dch: Ignore
---
 pbuilder-modules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-modules b/pbuilder-modules
index c2ecef3..e2bc2f4 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -521,7 +521,7 @@ function copy_local_configuration () {
     fi
     if [ "$#" -eq 0 ]; then
         local tocopy=(hosts hostname mailname resolv.conf)
-    else tocopy=("$@") ; fi
+    else local tocopy=("$@") ; fi
     if [ "$USENETWORK" = "yes" ]; then
         local tocopy[${#tocopy[@]}]=resolv.conf
     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