mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +08:00
Update inc-revision.pl
This commit is contained in:
parent
eb1a5cba54
commit
df872bdf86
@ -9,11 +9,7 @@ use File::Spec;
|
|||||||
use File::Temp;
|
use File::Temp;
|
||||||
|
|
||||||
sub get_git_exe {
|
sub get_git_exe {
|
||||||
my $user_app_data = Win32::GetFolderPath (Win32::CSIDL_LOCAL_APPDATA);
|
return "git.exe";
|
||||||
my $git_glob = File::Spec->catfile ($user_app_data, 'GitHub', 'PortableGit_*', 'cmd', 'git.exe');
|
|
||||||
my $git_path = glob ($git_glob);
|
|
||||||
die "PortableGit not found\n" unless -x $git_path;
|
|
||||||
return $git_path;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub match_version {
|
sub match_version {
|
||||||
|
Loading…
Reference in New Issue
Block a user