make_makefiles: Allow running from a separate worktree.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Zebediah Figura 2020-03-23 11:58:50 -05:00 committed by Alexandre Julliard
parent d9a8485f00
commit f78fe960bc
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ sub update_wine_inf()
}
my $git_dir = $ENV{GIT_DIR} || ".git";
die "needs to be run from a git checkout" unless -d $git_dir;
die "needs to be run from a git checkout" unless -e $git_dir;
my @all_files = split /\0/, `git ls-files -c -z`;
map { $ignored_source_files{$_} = 1; } split /\0/, `git ls-files -d -z`;