[debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space

Niels Thykier niels at thykier.net
Wed Oct 5 20:24:00 UTC 2016


Gergely Nagy:
> Hi!
> 
>>>>>> "Niels" == Niels Thykier <niels at thykier.net> writes:
> 
>       Niels> On Mon, 23 Jun 2003 09:59:52 -0400 Joe Nahmias <joe at nahmias.net> wrote:
> 
> Now, this is quite an ancient issue! :D
> 

Partly why I want it -done'd! ;)

> [...]
> 
> You only need to teach debhelper to handle the \-escaped spaces.
> 

I am not really sure I want to use \-escaped spaces. Besides being a
pain in themselves, it would also suggest that the glob characters can
be escaped.  Which leads us to Joey Hess's comment in #198507#17.

If we go down that route of backslash escaped characters, I inclined to
go all in with Text::ParseWords's shellwords/parse_line from the beginning.

Would that still be doable in the dh-exec end?

Thanks,
~Niels




More information about the debhelper-devel mailing list