Have dofile.pl say where it was run

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
Richard Levitte 2016-02-14 06:55:45 +01:00
parent 98ac876f2d
commit 4b799ceaa2
2 changed files with 4 additions and 2 deletions

View File

@ -629,7 +629,8 @@ EOF
rel2abs($config{builddir}));
return <<"EOF";
$script : $sources
\$(PERL) "-I\$(BUILDDIR)" "-Mconfigdata" $dofile $sources > $script
\$(PERL) "-I\$(BUILDDIR)" "-Mconfigdata" $dofile -
"-o{- $config{build_file} -}" $sources > $script
SET FILE/PROT=(S:RWED,O:RWED,G:RE,W:RE) $script
PURGE $script
EOF

View File

@ -882,7 +882,8 @@ EOF
rel2abs($config{builddir}));
return <<"EOF";
$script : $sources
\$(PERL) "-I\$(BLDDIR)" -Mconfigdata "$dofile" $sources > "$script"
\$(PERL) "-I\$(BLDDIR)" -Mconfigdata "$dofile" \\
"-o{- $config{build_file} -}" $sources > "$script"
chmod a+x $script
EOF
}