develooper Front page | perl.perl5.porters | Postings from August 2016

[perl #129152] mkpport adds quotes to $perl even if it's alreadyquoted

Thread Previous
brian d foy
August 31, 2016 14:38
[perl #129152] mkpport adds quotes to $perl even if it's alreadyquoted
Message ID:
# New Ticket Created by  "brian d foy" 
# Please include the string:  [perl #129152]
# in the subject line of all future correspondence about this issue. 
# <URL: >

I'm compiling 5.25.4 from a path with a space character in it. It fails from a double double quoting issue that tries to run a command like:

    ""/Path/To Some/Place/perl"" ...

which_perl from MakeMaker::Test::Utils returns a path already quoted, like q("/Path/To Some/Place/perl"). The run subroutine in mkpport checks for whitespace in $perl and adds another layer of double quotes around the string if it finds whitespace. It should only do that if the value doesn't already have those quotes.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About