[elbe-devel] [PATCH 1/5] elbepack: elbeproject: remove superfluous quotes from command args

Thomas Weißschuh thomas.weissschuh at linutronix.de
Mon Jul 15 12:04:28 CEST 2024


These quotes where interpreted and stripped by the invoking shell in
past. Now that the command does not use a shell anymore, the quotes are
passed through and lead to errors.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/elbeproject.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index 7d04e988ee3a..6f2356153494 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -875,12 +875,12 @@ class ElbeProject:
                 '--buildplace', os.path.join(self.builddir, 'pbuilder_cross'),
                 '--configfile', os.path.join(self.builddir, 'cross_pbuilderrc'),
                 '--aptconfdir', os.path.join(self.builddir, 'aptconfdir'),
-                '--debootstrapopts', '--include="git,gnupg"', *no_check_gpg])
+                '--debootstrapopts', '--include=git,gnupg', *no_check_gpg])
         else:
             do(['pbuilder', '--create',
                 '--configfile', os.path.join(self.builddir, 'pbuilderrc'),
                 '--aptconfdir', os.path.join(self.builddir, 'aptconfdir'),
-                '--debootstrapopts', '--include="git,gnupg"', *no_check_gpg])
+                '--debootstrapopts', '--include=git,gnupg', *no_check_gpg])
 
     def sync_xml_to_disk(self):
         try:

-- 
2.45.2



More information about the elbe-devel mailing list