Skip to content

Commit

Permalink
Merge pull request #25 from quant-aq/dmcc/runner-quote-bug
Browse files Browse the repository at this point in the history
Fix EXTRA_DEBIAN_PACKAGES quoting bug
  • Loading branch information
dmcc authored Oct 4, 2024
2 parents 082d9d6 + acdc19c commit 2f37656
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/aeromancy/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ def build_docker(
"project=.",
]
if extra_debian_packages:
# Format with !r (repr()) to automatically handle spaces and escaping.
build_arg = f"EXTRA_DEBIAN_PACKAGES={' '.join(extra_debian_packages)!r}"
build_arg = f"EXTRA_DEBIAN_PACKAGES={' '.join(extra_debian_packages)}"
docker_commmand_pieces.extend(("--build-arg", build_arg))
if quiet:
docker_commmand_pieces.append("--quiet")
Expand Down

0 comments on commit 2f37656

Please sign in to comment.