summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-12-29 23:56:17 +0000
committerKarl Berry <karl@freefriends.org>2008-12-29 23:56:17 +0000
commit44a35759110cc47297f92e299ceb75f88858251d (patch)
treeafd451ec26f8eabe4a138c4f2b0ff49761c370c3 /Master/tlpkg/TeXLive
parent53e7cf32325cf25b36e270973eb82ec8db88825d (diff)
(xsystem): use cwd() not `pwd` to determine the cwd.
git-svn-id: svn://tug.org/texlive/trunk@11749 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 5c92e0286ed..08f7481cbb8 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -451,7 +451,7 @@ sub xsystem
my $retval = system(@args);
if ($retval != 0) {
$retval /= 256;
- chomp (my $pwd = `pwd`);
+ my $pwd = cwd ();
die "$0: system(@args) failed in $pwd, status $retval";
}
}