[pbuilder] 02/02: pdebuild: Unquote changes options

James Clarke jrtc27 at moszumanska.debian.org
Mon Jan 23 10:30:16 UTC 2017


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

jrtc27 pushed a commit to branch master
in repository pbuilder.

commit 051e0a634b72528c66fdc5015e1d429608f0bb9f
Author: James Clarke <jrtc27 at debian.org>
Date:   Mon Jan 23 10:30:09 2017 +0000

    pdebuild: Unquote changes options
---
 pdebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pdebuild b/pdebuild
index 3a64698..7380c8c 100644
--- a/pdebuild
+++ b/pdebuild
@@ -88,7 +88,9 @@ else
     dpkg-source -b .
     if ! [ "../${DSC}" -ef "${BUILDRESULT}/${DSC}" ]; then
         log.i "Generating source changes file for original dsc"
-        dpkg-genchanges -S $(get_changes_options) > "../${SOURCE_CHANGES}"
+        # get_changes_options single-quotes each element, so an eval is needed
+        # to reverse that.
+        eval dpkg-genchanges -S $(get_changes_options) > "../${SOURCE_CHANGES}"
     else
         log.i "Generated dsc will be overwritten by build result; not generating changes file"
     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