fix(rclone_serve): double-dashed arguments sometimes only get recognised with an equals sign between key and value

This commit is contained in:
Johanna Dorothea Reichmann 2023-11-06 10:22:43 +01:00
parent 457918ad59
commit 7d7b3462c5
No known key found for this signature in database
GPG key ID: 03624C433676E465

View file

@ -29,7 +29,7 @@ rclone_serve_container_command: >-
{%- if not rclone_flag.value -%}
{%- do rclone_flags.append('--' ~ rclone_flag.key) -%}
{%- elif rclone_flag.value -%}
{%- do rclone_flags.append('--' ~ rclone_flag.key ~ ' ' ~ rclone_flag.value) -%}
{%- do rclone_flags.append('--' ~ rclone_flag.key ~ '=' ~ rclone_flag.value) -%}
{%- endif -%}
{%- endfor -%}
serve