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:
iceman1001 2019-02-18 10:18:55 +01:00
parent e23d53adc1
commit f943348a7b

View file

@ -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) ) {