Compatibility redirect: if python3 is not available, try python

This commit is contained in:
Gilles Peskine 2019-09-05 20:29:22 +02:00 committed by Darryl Green
parent 261742bd59
commit 518ce0beb3

View File

@ -4,4 +4,6 @@ my $py = $0;
$py =~ s/\.pl$/.py/;
exec 'python3', $py, @ARGV;
print STDERR "$0: python3: $!\n";
exec 'python', $py, @ARGV;
print STDERR "$0: python: $!\n";
exit 127;