mirror of
https://github.com/cuberite/polarssl.git
synced 2025-12-11 00:09:48 -05:00
Error out rather than call python on the perl script
This commit is contained in:
parent
61c8a371e0
commit
df78e496b7
@ -19,7 +19,7 @@
|
|||||||
## This file is part of Mbed TLS (https://tls.mbed.org)
|
## This file is part of Mbed TLS (https://tls.mbed.org)
|
||||||
|
|
||||||
my $py = $0;
|
my $py = $0;
|
||||||
$py =~ s/\.pl$/.py/;
|
$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: $!\n";
|
||||||
exec 'python', $py, @ARGV;
|
exec 'python', $py, @ARGV;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user