From: Dr. Stephen Henson Date: Sat, 3 Feb 2007 13:43:53 +0000 (+0000) Subject: Fix paths for --onedir and Unix. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=913236a4f874f1e99405c4dd021f0c3f00c5831c;p=oweals%2Fopenssl.git Fix paths for --onedir and Unix. --- diff --git a/fips-1.0/mkfipsscr.pl b/fips-1.0/mkfipsscr.pl index d803e5855f..601a46184e 100644 --- a/fips-1.0/mkfipsscr.pl +++ b/fips-1.0/mkfipsscr.pl @@ -100,7 +100,6 @@ foreach (@ARGV) } $tvdir = "testvectors" unless defined $tvdir; -$shwrap_prefix = "../util/" unless defined $shwrap_prefix; if ($win32) { @@ -131,10 +130,12 @@ else if ($onedir) { $tprefix = "./" unless defined $tprefix; + $shwrap_prefix = "./" unless defined $shwrap_prefix; } else { $tprefix = "../test/" unless defined $tprefix; + $shwrap_prefix = "../util/" unless defined $shwrap_prefix; } $outfile = "fipstests.sh" unless defined $outfile; open(OUT, ">$outfile"); @@ -218,7 +219,7 @@ END } else { - my $req = "tvdir/$tdir/req/$fprefix.req"; + my $req = "$tvdir/$tdir/req/$fprefix.req"; my $rsp = "$tvdir/$tdir/rsp/$fprefix.rsp"; print OUT < $rsp; fi