X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=util%2Fssldir.pl;h=1d977c927a76095b20e24989d7022d17053b8d94;hb=e8d628156ff5fc354e309b51bfbf909a9f75e60f;hp=6c30685206989c7e91a19b7c9a99d73dd7c47ca5;hpb=d02b48c63a58ea4367a0e905979f140b7d090f86;p=openssl.git diff --git a/util/ssldir.pl b/util/ssldir.pl index 6c30685206..1d977c927a 100755 --- a/util/ssldir.pl +++ b/util/ssldir.pl @@ -23,7 +23,7 @@ $#ARGV == 0 || die "usage: ssldir.pl /new/path\n"; ); %mk1mf=( - '^$INSTALLTOP=','$INSTALLTOP="%s";', + '^\$INSTALLTOP=','$INSTALLTOP="%s";', ); &dofile("crypto/cryptlib.h",$ARGV[0],%cryptlib); @@ -46,7 +46,7 @@ sub dofile open(OUT,">$ff.new") || die "unable to open $f:$!\n"; print OUT @a; close(OUT); - rename($f,"$ff.old") || die "unable to rename $f\n"; + rename($f,"$ff.bak") || die "unable to rename $f\n"; rename("$ff.new",$f) || die "unable to rename $ff.new\n"; }