diff --git a/ChangeLog b/ChangeLog index be0026e2b..ddfc1e0e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ mbed TLS ChangeLog (Sorted per branch, date) += mbed TLS x.x.x branch released xxxx-xx-xx + +Bugfix + * Change the shebang line in Perl scripts to look up perl in the PATH. + Contributed by fbrosson in #1533. + = mbed TLS 2.7.4 branch released 2018-06-18 Bugfix diff --git a/scripts/config.pl b/scripts/config.pl index 5bf27859a..468aeb93e 100755 --- a/scripts/config.pl +++ b/scripts/config.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # This file is part of mbed TLS (https://tls.mbed.org) # diff --git a/scripts/generate_errors.pl b/scripts/generate_errors.pl index ac0fbff05..4f0ad31f1 100755 --- a/scripts/generate_errors.pl +++ b/scripts/generate_errors.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Generate error.c # diff --git a/scripts/generate_features.pl b/scripts/generate_features.pl index 2aa695c54..1bd82ca2a 100755 --- a/scripts/generate_features.pl +++ b/scripts/generate_features.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # use strict; diff --git a/scripts/generate_visualc_files.pl b/scripts/generate_visualc_files.pl index e042a4493..811c71f47 100755 --- a/scripts/generate_visualc_files.pl +++ b/scripts/generate_visualc_files.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Generate main file, individual apps and solution files for MS Visual Studio # 2010 diff --git a/scripts/massif_max.pl b/scripts/massif_max.pl index d1ce4ca7d..4e3342a2c 100755 --- a/scripts/massif_max.pl +++ b/scripts/massif_max.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Parse a massif.out.xxx file and output peak total memory usage diff --git a/scripts/rename.pl b/scripts/rename.pl index c29519eef..fb428098c 100755 --- a/scripts/rename.pl +++ b/scripts/rename.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # This file is part of mbed TLS (https://tls.mbed.org) # diff --git a/tests/scripts/check-doxy-blocks.pl b/tests/scripts/check-doxy-blocks.pl index b0fd69635..496769992 100755 --- a/tests/scripts/check-doxy-blocks.pl +++ b/tests/scripts/check-doxy-blocks.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Detect comment blocks that are likely meant to be doxygen blocks but aren't. # diff --git a/tests/scripts/curves.pl b/tests/scripts/curves.pl index 004181432..ddc90c580 100755 --- a/tests/scripts/curves.pl +++ b/tests/scripts/curves.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # curves.pl # diff --git a/tests/scripts/depends-hashes.pl b/tests/scripts/depends-hashes.pl index 29dcfb00c..f57e7ed88 100755 --- a/tests/scripts/depends-hashes.pl +++ b/tests/scripts/depends-hashes.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # depends-hashes.pl # diff --git a/tests/scripts/depends-pkalgs.pl b/tests/scripts/depends-pkalgs.pl index 14c92b221..97a43e881 100755 --- a/tests/scripts/depends-pkalgs.pl +++ b/tests/scripts/depends-pkalgs.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # depends-pkalgs.pl # diff --git a/tests/scripts/gen_ctr_drbg.pl b/tests/scripts/gen_ctr_drbg.pl index ee130247c..3c074be19 100755 --- a/tests/scripts/gen_ctr_drbg.pl +++ b/tests/scripts/gen_ctr_drbg.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Based on NIST CTR_DRBG.rsp validation file # Only uses AES-256-CTR cases that use a Derivation function diff --git a/tests/scripts/gen_gcm_decrypt.pl b/tests/scripts/gen_gcm_decrypt.pl index 6decac286..03809cb94 100755 --- a/tests/scripts/gen_gcm_decrypt.pl +++ b/tests/scripts/gen_gcm_decrypt.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Based on NIST gcmDecryptxxx.rsp validation files # Only first 3 of every set used for compile time saving diff --git a/tests/scripts/gen_gcm_encrypt.pl b/tests/scripts/gen_gcm_encrypt.pl index 8adbbcefc..29ec677da 100755 --- a/tests/scripts/gen_gcm_encrypt.pl +++ b/tests/scripts/gen_gcm_encrypt.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # Based on NIST gcmEncryptIntIVxxx.rsp validation files # Only first 3 of every set used for compile time saving diff --git a/tests/scripts/gen_pkcs1_v21_sign_verify.pl b/tests/scripts/gen_pkcs1_v21_sign_verify.pl index 678e2f908..110cb4b07 100755 --- a/tests/scripts/gen_pkcs1_v21_sign_verify.pl +++ b/tests/scripts/gen_pkcs1_v21_sign_verify.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # use strict; diff --git a/tests/scripts/key-exchanges.pl b/tests/scripts/key-exchanges.pl index d167c67c7..3bf7ae34f 100755 --- a/tests/scripts/key-exchanges.pl +++ b/tests/scripts/key-exchanges.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # key-exchanges.pl # diff --git a/tests/scripts/list-enum-consts.pl b/tests/scripts/list-enum-consts.pl index 633e3fdf9..21c25b33e 100755 --- a/tests/scripts/list-enum-consts.pl +++ b/tests/scripts/list-enum-consts.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use warnings; use strict; diff --git a/tests/scripts/recursion.pl b/tests/scripts/recursion.pl index 3ad42b1f8..431e59211 100755 --- a/tests/scripts/recursion.pl +++ b/tests/scripts/recursion.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Find functions making recursive calls to themselves. # (Multiple recursion where a() calls b() which calls a() not covered.) diff --git a/tests/scripts/run-test-suites.pl b/tests/scripts/run-test-suites.pl index 7e2974bbc..627935888 100755 --- a/tests/scripts/run-test-suites.pl +++ b/tests/scripts/run-test-suites.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # run-test-suites.pl # diff --git a/tests/scripts/test-ref-configs.pl b/tests/scripts/test-ref-configs.pl index 600fc751e..e1d2184ce 100755 --- a/tests/scripts/test-ref-configs.pl +++ b/tests/scripts/test-ref-configs.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # test-ref-configs.pl #