summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/util/mklink.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/util/mklink.pl')
-rw-r--r--src/lib/libcrypto/util/mklink.pl7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/util/mklink.pl b/src/lib/libcrypto/util/mklink.pl
index 182732d959..c8653cecc3 100644
--- a/src/lib/libcrypto/util/mklink.pl
+++ b/src/lib/libcrypto/util/mklink.pl
@@ -14,16 +14,13 @@
14# not contain symbolic links and that the parent of / is never referenced. 14# not contain symbolic links and that the parent of / is never referenced.
15# Apart from this, this script should be able to handle even the most 15# Apart from this, this script should be able to handle even the most
16# pathological cases. 16# pathological cases.
17#
18
19use Cwd;
20 17
21my $from = shift; 18my $from = shift;
22my @files = @ARGV; 19my @files = @ARGV;
23 20
24my @from_path = split(/[\\\/]/, $from); 21my @from_path = split(/[\\\/]/, $from);
25my $pwd = getcwd(); 22my $pwd = `pwd`;
26chomp($pwd); 23chop($pwd);
27my @pwd_path = split(/[\\\/]/, $pwd); 24my @pwd_path = split(/[\\\/]/, $pwd);
28 25
29my @to_path = (); 26my @to_path = ();