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:
15bbc15
)
When re-linking files, really relink them. In other words, emulate ln -f.
author
Andy Polyakov
<appro@openssl.org>
Mon, 20 Dec 2004 13:18:56 +0000
(13:18 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 20 Dec 2004 13:18:56 +0000
(13:18 +0000)
util/mklink.pl
patch
|
blob
|
history
diff --git
a/util/mklink.pl
b/util/mklink.pl
index 9386da7aa4c3a3f0f02e3d32583c06b0684f6e8b..c8653cecc37852358a936fba593ab2c0af35de30 100755
(executable)
--- a/
util/mklink.pl
+++ b/
util/mklink.pl
@@
-52,6
+52,7
@@
$symlink_exists=eval {symlink("",""); 1};
foreach $file (@files) {
my $err = "";
if ($symlink_exists) {
+ unlink "$from/$file";
symlink("$to/$file", "$from/$file") or $err = " [$!]";
} else {
unlink "$from/$file";