mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-27 12:16:07 +00:00
16799db69a
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
15 lines
409 B
Perl
Executable File
15 lines
409 B
Perl
Executable File
#!/usr/bin/env perl
|
|
# Backward compatibility redirection
|
|
|
|
## Copyright The Mbed TLS Contributors
|
|
## SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
|
|
##
|
|
|
|
my $py = $0;
|
|
$py =~ s/\.pl$/.py/ or die "Unable to determine the name of the Python script";
|
|
exec 'python3', $py, @ARGV;
|
|
print STDERR "$0: python3: $!. Trying python instead.\n";
|
|
exec 'python', $py, @ARGV;
|
|
print STDERR "$0: python: $!\n";
|
|
exit 127;
|