Commit | Line | Data |
---|---|---|
caeadfdd LC |
1 | This patch removes the explicit reference to the 'perl' binary, |
2 | such that OpenSSL does not retain a reference to Perl. | |
3 | ||
4 | The 'c_rehash' program is seldom used, but it is used nonetheless | |
5 | to create symbolic links to certificates, for instance in the 'nss-certs' | |
6 | package. | |
7 | ||
8 | --- openssl-1.0.2g/tools/c_rehash.in 2015-09-09 18:36:07.313316482 +0200 | |
9 | +++ openssl-1.0.2g/tools/c_rehash.in 2015-09-09 18:36:28.965458458 +0200 | |
10 | @@ -1,4 +1,6 @@ | |
11 | -#!/usr/local/bin/perl | |
12 | +eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' | |
13 | + & eval 'exec perl -wS "$0" $argv:q' | |
14 | + if 0; | |
15 | ||
16 | # Perl c_rehash script, scan all files in a directory | |
17 | # and add symbolic links to their hash values. |