diff options
Diffstat (limited to 'src/lib/libcrypto/util/mklink.pl')
-rw-r--r-- | src/lib/libcrypto/util/mklink.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/util/mklink.pl b/src/lib/libcrypto/util/mklink.pl index c8653cecc3..182732d959 100644 --- a/src/lib/libcrypto/util/mklink.pl +++ b/src/lib/libcrypto/util/mklink.pl | |||
@@ -14,13 +14,16 @@ | |||
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; | ||
17 | 20 | ||
18 | my $from = shift; | 21 | my $from = shift; |
19 | my @files = @ARGV; | 22 | my @files = @ARGV; |
20 | 23 | ||
21 | my @from_path = split(/[\\\/]/, $from); | 24 | my @from_path = split(/[\\\/]/, $from); |
22 | my $pwd = `pwd`; | 25 | my $pwd = getcwd(); |
23 | chop($pwd); | 26 | chomp($pwd); |
24 | my @pwd_path = split(/[\\\/]/, $pwd); | 27 | my @pwd_path = split(/[\\\/]/, $pwd); |
25 | 28 | ||
26 | my @to_path = (); | 29 | my @to_path = (); |