Skip Menu |

This queue is for tickets about the File-Sharedir-Install CPAN distribution.

Report information
The Basics
Id: 108024
Status: new
Priority: 0/
Queue: File-Sharedir-Install

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.10
Fixed in: (no value)



Subject: filenames are not escaped when inserted into Makefile postamble
__postamble_share_dir() should be escaping special characters in the list of filenames it spews into the postamble section of the Makefile. For example, see what happens with https://metacpan.org/release/JJNAPIORK/Skeletor-Template-Example-0.002: # --- MakeMaker postamble section: config:: $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)'\'')' -- \ share/skel/$name/lib/$project_fullpath/Controller/Game.pm.ttt $(INST_LIB)/auto/share/dist/$(DISTNAME)/skel/$name/lib/$project_fullpath/Controller/Game.pm.ttt \ .... Which, when run, results in the error: ERROR: Cannot copy 'share/skel/ame/lib/roject_fullpath/Server.pm.ttt' to 'blib/lib/auto/share/dist/Skeletor-Template-Example/skel/ame/lib/roject_fullpath/Server.pm.ttt': No such file or directory ...because $name and $project are being evaluated as variables.