From 44a35759110cc47297f92e299ceb75f88858251d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 29 Dec 2008 23:56:17 +0000 Subject: (xsystem): use cwd() not `pwd` to determine the cwd. git-svn-id: svn://tug.org/texlive/trunk@11749 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } } -- cgit v1.2.3