diff options
Diffstat (limited to 'src/lib/libcrypto/util/mklink.pl')
-rw-r--r-- | src/lib/libcrypto/util/mklink.pl | 7 |
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 | |||
19 | use Cwd; | ||
20 | 17 | ||
21 | my $from = shift; | 18 | my $from = shift; |
22 | my @files = @ARGV; | 19 | my @files = @ARGV; |
23 | 20 | ||
24 | my @from_path = split(/[\\\/]/, $from); | 21 | my @from_path = split(/[\\\/]/, $from); |
25 | my $pwd = getcwd(); | 22 | my $pwd = `pwd`; |
26 | chomp($pwd); | 23 | chop($pwd); |
27 | my @pwd_path = split(/[\\\/]/, $pwd); | 24 | my @pwd_path = split(/[\\\/]/, $pwd); |
28 | 25 | ||
29 | my @to_path = (); | 26 | my @to_path = (); |