Update from 0.9.7-stable.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 9 Feb 2006 12:29:21 +0000 (12:29 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 9 Feb 2006 12:29:21 +0000 (12:29 +0000)
util/mklink.pl

index c8653cecc37852358a936fba593ab2c0af35de30..d9bc98aab8788cdcca76aecfa3e1a835537df856 100755 (executable)
 # 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();
+chomp($pwd);
 my @pwd_path = split(/[\\\/]/, $pwd);
 
 my @to_path = ();