Skip to content

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

Closed
@rainerjung

Description

@rainerjung

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions