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:
a531942
)
Use getcwd() because it works under MSYS but `pwd` doesn't.
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 3 Feb 2006 23:55:26 +0000
(23:55 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 3 Feb 2006 23:55:26 +0000
(23:55 +0000)
util/mklink.pl
patch
|
blob
|
history
diff --git
a/util/mklink.pl
b/util/mklink.pl
index c8653cecc37852358a936fba593ab2c0af35de30..182732d9594c477a1e192aa5917f8dec506c5e4a 100755
(executable)
--- a/
util/mklink.pl
+++ b/
util/mklink.pl
@@
-14,13
+14,16
@@
# not contain symbolic links and that the parent of / is never referenced.
# Apart from this, this script should be able to handle even the most
# pathological cases.
+#
+
+use Cwd;
my $from = shift;
my @files = @ARGV;
my @from_path = split(/[\\\/]/, $from);
-my $pwd =
`pwd`
;
-chop($pwd);
+my $pwd =
getcwd()
;
+cho
m
p($pwd);
my @pwd_path = split(/[\\\/]/, $pwd);
my @to_path = ();