diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-29 23:56:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-29 23:56:17 +0000 |
commit | 44a35759110cc47297f92e299ceb75f88858251d (patch) | |
tree | afd451ec26f8eabe4a138c4f2b0ff49761c370c3 /Master/tlpkg/TeXLive | |
parent | 53e7cf32325cf25b36e270973eb82ec8db88825d (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.pm | 2 |
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"; } } |