Skip to content

Commit

Permalink
elbepack: use correct quotes
Browse files Browse the repository at this point in the history
The previously used syntax introduced spurious quotes which prevents
execution of the command.

Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Benedikt Spranger <[email protected]>
  • Loading branch information
t-8ch committed Mar 4, 2024
1 parent 50d80cf commit 4a83c76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elbepack/pbuilderaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def execute(self, opt, _args):
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)
Expand Down

0 comments on commit 4a83c76

Please sign in to comment.