diff options
Diffstat (limited to 'Master/tlpkg')
-rw-r--r-- | Master/tlpkg/TeXLive/TLTREE.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm index 6109aa117ce..b238e4b96df 100644 --- a/Master/tlpkg/TeXLive/TLTREE.pm +++ b/Master/tlpkg/TeXLive/TLTREE.pm @@ -61,8 +61,11 @@ sub _initialize_lines { my @lines = @_; my %archs; # we first chdir to the svn root, we need it for file tests - debug("_il: about to run pwd\n"); - chomp (my $oldpwd = `pwd`); + debug("_il: about to run pwd, with env:\n"); + for my $key (sort keys %ENV) { + debug("_il: $key=$ENV{$key}\n"); + } + chomp (my $oldpwd = `pwd 2>&1`); debug("_il: got oldpwd=$oldpwd\n"); chdir($self->svnroot) || die "chdir($self->{svnroot}) failed: $!"; debug("_il: walking lines\n"); |