FIX: detection of presence of git on system. ie downloaded a zip file with everything or precompiled distro may not have git installed. On ubuntu/mingw 'env -S' doesn't exist.
This commit is contained in:
@@ -28,7 +28,7 @@ my $clean = 2;
|
||||
# fatal: No names found, cannot describe anything.
|
||||
##
|
||||
# anyway forcing any kind of shell is at least useless, at worst fatal.
|
||||
my $commandGIT = "env -S which git";
|
||||
my $commandGIT = "env which git";
|
||||
|
||||
if ( defined($commandGIT) ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user