This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(perl #133951) don't write an invalid lib/buildcustomize.pl
authorTony Cook <tony@develop-help.com>
Mon, 25 Mar 2019 05:11:16 +0000 (16:11 +1100)
committerTony Cook <tony@develop-help.com>
Sun, 14 Apr 2019 23:26:29 +0000 (09:26 +1000)
commit05fed879afada2f6ac1f1b5b6962e06190f5b9f6
tree86b36cda5eaee68ec44d6909d8b44f3ac05a614b
parent918fbd43ad287e3a4b8f309a55f91e409747c895
(perl #133951) don't write an invalid lib/buildcustomize.pl

Cwd under miniperl (at this point) can't determine the current
directory if some ancestor directory isn't readable.

So Cwd::getcwd() would return undef, and write_buildcustomize.pl
would write out a list of paths relative to / rather than to the cwd.
write_buildcustomize.pl