[elbe-devel] [PATCH 09/14] elbepack: use correct quotes
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed Feb 28 11:35:00 CET 2024
The previously used syntax introduced spurious quotes which prevents
execution of the command.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
elbepack/pbuilderaction.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/elbepack/pbuilderaction.py b/elbepack/pbuilderaction.py
index a108c3165a48..73fef07870a9 100644
--- a/elbepack/pbuilderaction.py
+++ b/elbepack/pbuilderaction.py
@@ -115,8 +115,8 @@ class CreateAction(PBuilderAction):
print('Creating pbuilder')
try:
- system(f"""'{sys.executable} {elbe_exe} control
- build_pbuilder "{prjdir}" {crossopt} {ccacheopt} {ccachesize}'""")
+ system(f'{sys.executable} {elbe_exe} control '
+ f'build_pbuilder "{prjdir}" {crossopt} {ccacheopt} {ccachesize}')
except CommandError:
print('elbe control build_pbuilder Failed', file=sys.stderr)
print('Giving up', file=sys.stderr)
--
2.44.0
More information about the elbe-devel
mailing list