Skip to content

Commit

Permalink
assemble: fix missing ¤ in volume handling (#1001)
Browse files Browse the repository at this point in the history
With this '¤' volumes can be on multiple lines

```
volume="/abc:/abc "
volume="/def:/def"
```

basically the same as for `additional_packages` and `additional_flags`.
  • Loading branch information
samuelba authored Nov 19, 2023
1 parent 13a4998 commit ca06efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-assemble
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ run_distrobox() (
result_command="${result_command} --additional-packages $(sanitize_variable "${args}")"
fi
if [ -n "${volume}" ]; then
IFS=" "
IFS="¤"
for vol in ${volume}; do
result_command="${result_command} --volume $(sanitize_variable "${vol}")"
done
Expand Down

0 comments on commit ca06efc

Please sign in to comment.