diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-04 00:40:41 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-04 01:41:14 +0100 |
commit | db73bd220816feb6c9d1531d0ac76e09fd4c4a4a (patch) | |
tree | 8fad13c8df7f4475afa7ba09b917c5ec97ed4a5d /util/mk1mf.pl | |
parent | cde052f59c903af0097ec06c873ab9a6eda05f2b (diff) | |
download | openssl-db73bd220816feb6c9d1531d0ac76e09fd4c4a4a.tar.gz |
Make the mk1mf 'mv' command variable
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'util/mk1mf.pl')
-rwxr-xr-x | util/mk1mf.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl index f9eeea8e65..1f9bdf47b7 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -182,6 +182,7 @@ $tmp_def="tmp"; $perl="perl" unless defined $perl; $mkdir="-mkdir" unless defined $mkdir; +$mv="mv" unless defined $mv; ($ssl,$crypto)=("ssl","crypto"); $ranlib="echo ranlib"; @@ -661,6 +662,7 @@ PERLASM_SCHEME=$mf_perlasm_scheme CP=$cp CP2=$cp2 RM=$rm +MV=$mv RANLIB=$ranlib MKDIR=$mkdir MKLIB=$bin_dir$mklib @@ -1352,7 +1354,7 @@ sub do_dofile_rule return <<"EOF"; $to${o}$file: $tmpl \$(PERL) "-I." "-Mconfigdata" util/dofile.pl "$tmpl" > "$to${o}$file.new" - mv "$to${o}$file.new" "$to${o}$file" + \$(MV) "$to${o}$file.new" "$to${o}$file" EOF } |