projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5cee97
)
support customisable rm and mkdir commands
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 19 Sep 2010 15:34:23 +0000
(15:34 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 19 Sep 2010 15:34:23 +0000
(15:34 +0000)
fips/mkfipsscr.pl
patch
|
blob
|
history
diff --git
a/fips/mkfipsscr.pl
b/fips/mkfipsscr.pl
index 3c301300227c648a3e9d550df062c18a1072469d..29a26c116fbfd0373471430c2f16a854f4f81b07 100644
(file)
--- a/
fips/mkfipsscr.pl
+++ b/
fips/mkfipsscr.pl
@@
-298,6
+298,8
@@
my $tvdir;
my $tprefix;
my $shwrap_prefix;
my $shwrap;
+my $rmcmd = "rm -rf";
+my $mkcmd = "mkdir";
my $debug = 0;
my $quiet = 0;
my $rspdir = "rsp";
@@
-352,6
+354,14
@@
foreach (@ARGV)
{
$filter = $1;
}
+ elsif (/--mkdir=(.*)$/)
+ {
+ $mkcmd = $1;
+ }
+ elsif (/--rm=(.*)$/)
+ {
+ $rmcmd = $1;
+ }
elsif (/--outfile=(.*)$/)
{
$outfile = $1;
@@
-410,8
+420,8
@@
else
# Auto generated by mkfipsscr.pl script
# Do not edit
-RM=
rm -rf
-MKDIR=
mkdir
+RM=
"$rmcmd"
+MKDIR=
"$mkcmd"
TPREFIX=$tprefix
END