Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devserver-global Makefile target is missing necessary quoting #3072

Closed
2 tasks done
mpounsett opened this issue Dec 20, 2022 · 0 comments · Fixed by #3073
Closed
2 tasks done

devserver-global Makefile target is missing necessary quoting #3072

mpounsett opened this issue Dec 20, 2022 · 0 comments · Fixed by #3073
Labels

Comments

@mpounsett
Copy link
Contributor

mpounsett commented Dec 20, 2022

  • I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.

Issue

The devserver-global Makefile target is missing quoting around variables that is present in other targets. The missing quotes can result in errors calling pelican if any of the paths have spaces or special characters in them.

pelican -lr /Users/matt/Dropbox (Personal)/Development/conundrum/personal-site/content -o /Users/matt/Dropbox (Personal)/Development/conundrum/personal-site/output -s /Users/matt/Dropbox (Personal)/Development/conundrum/personal-site/pelicanconf.py  -b 0.0.0.0
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `pelican -lr /Users/matt/Dropbox (Personal)/Development/conundrum/personal-site/content -o /Users/matt/Dropbox (Personal)/Development/conundrum/personal-site/output -s /Users/matt/Dropbox (Personal)/Development/conundrum/personal-site/pelicanconf.py  -b 0.0.0.0'
make: *** [devserver-global] Error 2

PR incoming to address this and #3065, since it'll be easy to address that at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant