From f0ec771933f7a43dc7225790fb21f8bd3d23d7b4 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 9 Feb 2006 12:28:30 +0000 Subject: [PATCH] Update from 0.9.7-stable. --- util/mklink.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/util/mklink.pl b/util/mklink.pl index c8653cecc3..d9bc98aab8 100755 --- a/util/mklink.pl +++ b/util/mklink.pl @@ -15,12 +15,14 @@ # 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 = (); -- 2.25.1