mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 10:05:46 +01:00
If python3 fails, make it clear that this isn't fatal
This commit is contained in:
parent
df78e496b7
commit
987e271b16
@ -21,7 +21,7 @@
|
|||||||
my $py = $0;
|
my $py = $0;
|
||||||
$py =~ s/\.pl$/.py/ or die "Unable to determine the name of the Python script";
|
$py =~ s/\.pl$/.py/ or die "Unable to determine the name of the Python script";
|
||||||
exec 'python3', $py, @ARGV;
|
exec 'python3', $py, @ARGV;
|
||||||
print STDERR "$0: python3: $!\n";
|
print STDERR "$0: python3: $!. Trying python instead.\n";
|
||||||
exec 'python', $py, @ARGV;
|
exec 'python', $py, @ARGV;
|
||||||
print STDERR "$0: python: $!\n";
|
print STDERR "$0: python: $!\n";
|
||||||
exit 127;
|
exit 127;
|
||||||
|
Loading…
Reference in New Issue
Block a user