Module: wine Branch: master Commit: f78fe960bc44deb8f85c6c3cb09954017eeecbc2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f78fe960bc44deb8f85c6c3cb...
Author: Zebediah Figura z.figura12@gmail.com Date: Mon Mar 23 11:58:50 2020 -0500
make_makefiles: Allow running from a separate worktree.
Signed-off-by: Zebediah Figura zfigura@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/make_makefiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/make_makefiles b/tools/make_makefiles index 79b18778a5..c18fa90e2d 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -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`;