From df872bdf86e8e259b4007a3cbc261bb055beeba7 Mon Sep 17 00:00:00 2001 From: poddav Date: Fri, 29 Apr 2022 13:30:11 +0400 Subject: [PATCH] Update inc-revision.pl --- inc-revision.pl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/inc-revision.pl b/inc-revision.pl index 3f204f97..39d925f8 100644 --- a/inc-revision.pl +++ b/inc-revision.pl @@ -9,11 +9,7 @@ use File::Spec; use File::Temp; sub get_git_exe { - my $user_app_data = Win32::GetFolderPath (Win32::CSIDL_LOCAL_APPDATA); - 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; + return "git.exe"; } sub match_version {