Commit b03606c5 authored by Alexandre Julliard's avatar Alexandre Julliard

make_makefiles: Support the GIT_DIR environment variable.

parent 8b2e666d
......@@ -578,7 +578,8 @@ sub update_linguas(@)
}
die "needs to be run from a git checkout" unless -d ".git";
my $git_dir = $ENV{GIT_DIR} || ".git";
die "needs to be run from a git checkout" unless -d $git_dir;
my @all_files = split /\0/, `git ls-files -c -z`;
@linguas = map { (my $ret = $_) =~ s/^po\/(.*)\.po/$1/; $ret; } grep /^po\/.*\.po$/, @all_files;
......
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