Skip to content

Commit

Permalink
Merge pull request galaxyproject#17055 from bernt-matthias/topic/quot…
Browse files Browse the repository at this point in the history
…e-singularity-env-params

Quote singularity env parameters
  • Loading branch information
mvdbeek authored Nov 21, 2023
2 parents c88fa03 + a0f0b83 commit 1181e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tool_util/deps/singularity_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def build_singularity_run_command(
for key, value in env:
if key == "HOME":
home = value
command_parts.extend([f"SINGULARITYENV_{key}={value}"])
command_parts.extend([f'SINGULARITYENV_{key}="{value}"'])
command_parts += _singularity_prefix(
singularity_cmd=singularity_cmd,
sudo=sudo,
Expand Down

0 comments on commit 1181e7d

Please sign in to comment.