summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-02 23:21:18 +0000
committerKarl Berry <karl@freefriends.org>2017-05-02 23:21:18 +0000
commit8517b22b81640e7b7bf838c33a8d1533000098cb (patch)
treed3339cd3afb21b1d211eafa57076625bdbff4a13 /Master
parent37969dd72c7cdf07906bf5c1dc08a36691ac3182 (diff)
no braces for TEXMFAUXTREES value
git-svn-id: svn://tug.org/texlive/trunk@44163 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl36
1 files changed, 18 insertions, 18 deletions
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<texmf>, an additional subcommand C<auxtrees> allows adding and
removing arbitrary additional texmf trees, completely under user
control. C<texmf auxtrees show> shows the list of additional trees,
C<texmf auxtrees add> I<tree> adds a tree to the list, and C<texmf
-auxtrees remove> I<tree> removes a tree from the list (if present). This
-works by manipulating the Kpathsea variable C<TEXMFAUXTREES>, in
-C<ROOT/texmf.cnf>. Example:
+auxtrees remove> I<tree> removes a tree from the list (if present). The
+trees should not contain an C<ls-R> file. This works by manipulating the
+Kpathsea variable C<TEXMFAUXTREES>, in C<ROOT/texmf.cnf>. 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<file>, if desired.
-The C<PATH> value shown is as used by C<tlmgr>. The directory in which
-the C<tlmgr> executable is found is automatically prepended to the PATH
-value inherited from the environment.
+The C<PATH> value shown by C<conf> is as used by C<tlmgr>. The
+directory in which the C<tlmgr> 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