Elide use of `ls`, `find` and `touch`
authorMax Maischein <corion@corion.net>
Thu, 3 Oct 2013 16:38:36 +0000 (18:38 +0200)
committerMax Maischein <corion@corion.net>
Sun, 6 Oct 2013 17:48:08 +0000 (19:48 +0200)
commitfc134225747f7f6b1e38daa4f85f3c36c99755ee
tree815616aac7bbe5674b9f17a8e616d8f1070b680a
parent192f56b06136953e14ef490067000185cc351337
Elide use of `ls`, `find` and `touch`

File::Find and code copied from ExtUtils::Command do the same.

This patch makes the code to remove the exec bit a little less
efficient by not restricting itself to files that now have
the exec bit set, but instead looking at all files.

This change also uses $ENV{TEMP} in preference to
/tmp as a temp directory for caching the CPAN index.
Porting/sync-with-cpan