Skip to content

Configure shell failure (nexted quotes, find_pcre.m4) in 2.7.1 #14

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

Closed
rainerjung opened this issue Dec 17, 2012 · 1 comment
Closed

Comments

@rainerjung
Copy link

Version 2.7.1 produces a shell error trying to execute "cut" due to incorrectly nested quotes introduced in commit 0757a9f.

Problematic line inbuild/find_pcre.m4 is:

PCRE_LD_PATH="/${PCRE_CONFIG} --libs | cut -d"/" -f2,3,4,5,6 | cut -d " " -f1"

Correct would be:

PCRE_LD_PATH="/${PCRE_CONFIG} --libs | cut -d'/' -f2,3,4,5,6 | cut -d ' ' -f1"

(Change from >"< to >'< when quoting the cut delimiters.

Otherwise the quotes around the single space are actually terminating the backquote and the shell tries to execute the command "-f1".

@brenosilva
Copy link
Contributor

Fixed. Thanks!

@pbesedm pbesedm mentioned this issue Mar 12, 2016
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

No branches or pull requests

2 participants