quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

config.pl (409B)


      1 #!/usr/bin/env perl
      2 # Backward compatibility redirection
      3 
      4 ## Copyright The Mbed TLS Contributors
      5 ## SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
      6 ##
      7 
      8 my $py = $0;
      9 $py =~ s/\.pl$/.py/ or die "Unable to determine the name of the Python script";
     10 exec 'python3', $py, @ARGV;
     11 print STDERR "$0: python3: $!. Trying python instead.\n";
     12 exec 'python', $py, @ARGV;
     13 print STDERR "$0: python: $!\n";
     14 exit 127;