Skip to content

Commit

Permalink
[Makefile.PL] Fix git ls-files on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
caldwell committed Mar 3, 2015
1 parent 9d1f60e commit ef6e513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (-d ".git") { # Are we in our development tree? If so, create MANIFEST.
my ($dir, $manifest);
open $manifest, ">", "MANIFEST" or die "MANIFEST: $!";
print $manifest "MANIFEST\n";
open $dir, '-|', 'git', 'ls-files' or die "Couldn't run git: $!";
open $dir, 'git ls-files|' or die "Couldn't run git: $!";
while (<$dir>) { print $manifest $_ unless /^\.|^monotonic_clock/ }
open $dir, '-|', 'cd monotonic_clock && git ls-files' or die "Couldn't run git in monotonic_clock: $!";
while (<$dir>) { print $manifest "monotonic_clock/$_" unless /^\./ }
Expand Down

0 comments on commit ef6e513

Please sign in to comment.