From 8517b22b81640e7b7bf838c33a8d1533000098cb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 2 May 2017 23:21:18 +0000 Subject: no braces for TEXMFAUXTREES value git-svn-id: svn://tug.org/texlive/trunk@44163 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'Master/texmf-dist/scripts') diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 95f7fe2cfc5..0153c85c44e 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -5560,8 +5560,8 @@ sub action_conf { my $tv = $cf->value($tmfa); if (!$val || $val eq "show") { if (defined($tv)) { - $tv =~ s/^\s*{//; - $tv =~ s/}\s*$//; + $tv =~ s/^\s*//; + $tv =~ s/\s*$//; $tv =~ s/,$//; my @foo = split(',', $tv); print "List of auxiliary texmf trees:\n" if (@foo); @@ -5576,8 +5576,8 @@ sub action_conf { } elsif ($val eq "add") { if (defined($str)) { if (defined($tv)) { - $tv =~ s/^\s*{//; - $tv =~ s/}\s*$//; + $tv =~ s/^\s*//; + $tv =~ s/\s*$//; $tv =~ s/,$//; my @foo = split(',', $tv); my @new; @@ -5591,9 +5591,9 @@ sub action_conf { } } push @new, $str; - $cf->value($tmfa, '{' . join(',', @new) . ',}'); + $cf->value($tmfa, join(',', @new) . ','); } else { - $cf->value($tmfa, '{' . $str . ',}'); + $cf->value($tmfa, $str . ','); } } else { tlwarn("$prg: missing argument for auxtrees add\n"); @@ -5602,8 +5602,8 @@ sub action_conf { } elsif ($val eq "remove") { if (defined($str)) { if (defined($tv)) { - $tv =~ s/^\s*{//; - $tv =~ s/}\s*$//; + $tv =~ s/^\s*//; + $tv =~ s/\s*$//; $tv =~ s/,$//; my @foo = split(',', $tv); my @new; @@ -5617,7 +5617,7 @@ sub action_conf { } if ($removed) { if ($#new >= 0) { - $cf->value($tmfa, '{' . join(',', @new) . ',}'); + $cf->value($tmfa, join(',', @new) . ','); } else { $cf->delete_key($tmfa); } @@ -5665,7 +5665,7 @@ sub action_conf { } else { info("$arg $key default value: $defval"); } - info(" (kpsewhich -var-value)\n"); + info(" (from kpsewhich -var-value)\n"); } } } @@ -7163,19 +7163,19 @@ For C, an additional subcommand C allows adding and removing arbitrary additional texmf trees, completely under user control. C shows the list of additional trees, C I adds a tree to the list, and C I removes a tree from the list (if present). This -works by manipulating the Kpathsea variable C, in -C. Example: +auxtrees remove> I removes a tree from the list (if present). The +trees should not contain an C file. This works by manipulating the +Kpathsea variable C, in C. Example: - tlmgr conf texmf auxtrees add /my/quick/test/tree - tlmgr conf texmf auxtrees remove /my/quick/test/tree + tlmgr conf texmf auxtrees add /quick/test/tree + tlmgr conf texmf auxtrees remove /quick/test/tree In all cases the configuration file can be explicitly specified via the option C<--conffile> I, if desired. -The C value shown is as used by C. The directory in which -the C executable is found is automatically prepended to the PATH -value inherited from the environment. +The C value shown by C is as used by C. The +directory in which the C executable is found is automatically +prepended to the PATH value inherited from the environment. Warning: The general facility is here, but tinkering with settings in this way is strongly discouraged. Again, no error checking on either -- cgit v1.2.3