mataroa-blog / mataroa

Naked blogging platform
https://mataroa.blog
GNU Affero General Public License v3.0
265 stars 21 forks source link

Fix docker compose startup on windows by adding split flag #89

Closed TimHi closed 1 week ago

TimHi commented 1 week ago

As written in #88 passing mulitple arguments to manage.py causes docker compose to fail on windows.
Passing the -S flag allows parsing of multiple arguments, from env man:

  -S/--split-string usage in scripts
       The -S option allows specifying multiple parameters in a script.
       Running a script named 1.pl containing the following first line:

              #!/usr/bin/env -S perl -w -T
              ...

       Will execute perl -w -T 1.pl .

       Without the '-S' parameter the script will likely fail with:

              /usr/bin/env: 'perl -w -T': No such file or directory
sirodoht commented 1 week ago

Hey, that looks great! Thanks for submitting!