[pbuilder] 02/02: pbuilder-modules: Make arg local

James Clarke jrtc27 at moszumanska.debian.org
Thu Jan 19 18:10:05 UTC 2017


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

jrtc27 pushed a commit to branch wip/changes-option
in repository pbuilder.

commit 8dd3951942e9072a6d37dd47ba86f7c5776690de
Author: James Clarke <jrtc27 at debian.org>
Date:   Thu Jan 19 18:06:16 2017 +0000

    pbuilder-modules: Make arg local
    
    Gbp-Dch: Ignore
---
 pbuilder-modules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pbuilder-modules b/pbuilder-modules
index 8ab7624..012d378 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -920,6 +920,7 @@ b paraloop' \
 
 function get_changes_options() {
     local changes_options
+    local arg
     for arg in $DEBBUILDOPTS; do
         # De-escape arg. $(echo $arg) on its own doesn't perform quote
         # expansion, since quote expansion operates on the *original* word.
@@ -945,6 +946,7 @@ function get_changes_options() {
 
 function should_clean_source() {
     local noclean=0
+    local arg
     for arg in $DEBBUILDOPTS; do
         # De-escape arg. $(echo $arg) on its own doesn't perform quote
         # expansion, since quote expansion operates on the *original* word.

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