Don't try and update c_rehash for fipscanisteronly builds.

This commit is contained in:
Dr. Stephen Henson 2011-02-22 12:44:29 +00:00
parent 3e446ba347
commit 227437d292

View file

@ -1926,7 +1926,9 @@ EOF
$make_targets .= " gentests" if $symlink;
(system $make_command.$make_targets) == 0 or exit $?
if $make_targets ne "";
if ( $perl =~ m@^/@) {
if ( $fipscanisteronly )
{}
elsif ( $perl =~ m@^/@) {
&dofile("tools/c_rehash",$perl,'^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";', '^my \$prefix;$', 'my $prefix = "' . $prefix . '";');
&dofile("apps/CA.pl",$perl,'^#!/', '#!%s');
} else {