commit | df78e496b7acc17b9552e66df153e7d31f910537 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Nov 26 13:30:00 2019 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Tue Nov 26 13:30:00 2019 +0100 |
tree | cf47a6675225973ef4e0f43501e437954176fe17 | |
parent | 61c8a371e0a6ac5844509f6dcfca90728c6ed618 [diff] |
Error out rather than call python on the perl script
diff --git a/scripts/config.pl b/scripts/config.pl index 95e3191..a303d2f 100755 --- a/scripts/config.pl +++ b/scripts/config.pl
@@ -19,7 +19,7 @@ ## This file is part of Mbed TLS (https://tls.mbed.org) 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; print STDERR "$0: python3: $!\n"; exec 'python', $py, @ARGV;