Comment 3 for bug 462193

Andrej RohaĆ­ (arohau) wrote :

It might as well be a debhelper bug. Happens due to the following glob pattern usage in the package install files:


which glob expands to:


dh_install chokes on this dot in the path and cannot guess the destination directory correctly, because that single dot is exactly the same as $srcdir for dh_install itself. During processing:

# Guess at destination directory.

the 2nd regexp reduces the path to:


the 4th regexp makes it:


That's it. Possible solution could be to use canonpath() during initial $src processing or fiddle with regexp somehow, or just refrain from using this kind of pattern in install files. Attached is a quick fix to replace the faulty glob pattern with two normal ones for the affected package.