Commit f78fe960 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

make_makefiles: Allow running from a separate worktree.

parent d9a8485f
......@@ -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`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment