[elbe-devel] [PATCH] pbuilderaction: remove doublequotes around crossoption

Torben Hohn torben.hohn at linutronix.de
Fri May 29 10:20:52 CEST 2020


crossoption may be empty, and shall not generate an empty positional
argument in that case.

Remove the doublequotes.

Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
 elbepack/pbuilderaction.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/pbuilderaction.py b/elbepack/pbuilderaction.py
index ca7b9aa39..bee33f4e0 100644
--- a/elbepack/pbuilderaction.py
+++ b/elbepack/pbuilderaction.py
@@ -252,7 +252,7 @@ class BuildAction(PBuilderAction):
         print("")
 
         try:
-            system('%s control set_pdebuild --cpuset "%d" --profile "%s" "%s" '
+            system('%s control set_pdebuild --cpuset "%d" --profile "%s" %s '
                    '"%s" "%s"' %
                    (elbe_exe, opt.cpuset, opt.profile, crossopt,
                     prjdir, tmp.fname("pdebuild.tar.gz")))
-- 
2.20.1




More information about the elbe-devel mailing list