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

Fix double quoting of pkg-config when package contains a space #1835

Closed
wants to merge 2 commits into from

Conversation

Chris00
Copy link
Member

@Chris00 Chris00 commented Feb 13, 2019

Example: Pkg_config.query p ~package:"gtk+-3.0 >= 3.10"

Fixes #1833

I have tested the fix.

Example: Pkg_config.query p ~package:"gtk+-3.0 >= 3.10"

Fixes ocaml#1833

Signed-off-by: Christophe Troestler <Christophe.Troestler@umons.ac.be>
@Chris00 Chris00 requested a review from rgrinberg as a code owner February 13, 2019 09:38
Signed-off-by: Christophe Troestler <Christophe.Troestler@umons.ac.be>
@Chris00
Copy link
Member Author

Chris00 commented Feb 13, 2019

@rgrinberg Improved doc.

@ejgallego
Copy link
Collaborator

Thanks! Would it be possible to add a test? This kind of stuff seems very tricky along different OS, so I'd be great to have CI check it at least on Linux / OSX

@rgrinberg
Copy link
Member

I merged this and created an issue with regards to testing configurator's pkg-config support: #1838

@rgrinberg rgrinberg closed this Feb 13, 2019
rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request Feb 13, 2019
CHANGES:

- Fix the watch mode (ocaml/dune#1837, ocaml/dune#1839, fix ocaml/dune#1836, @diml)

- Configurator: Fix misquoting when running pkg-config (ocaml/dune#1835, fix ocaml/dune#1833,
  @Chris00)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[configurator] New quoting rules may create problems.
3 participants