summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-13 22:44:47 +0000
committerKarl Berry <karl@freefriends.org>2018-12-13 22:44:47 +0000
commitab062404c17563eba0352a2a257162c0e9310933 (patch)
tree068c15146ea526c4f04cdbe31ba2dcf6162a9d88 /Build
parent4d763ea3fc9e08f00534d39b6ba9dfc621bf6402 (diff)
(-var-value): disable brace_expand again due to
selfautoloc=c:/texlive/texlive2018/bin/win32. git-svn-id: svn://tug.org/texlive/trunk@49401 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index d78f098f657..879c7998757 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -836,12 +836,19 @@ main (int argc, string *argv)
unfound++;
value = "";
}
+
+#if 0
+/* must think about
+ selfautoloc=c:/texlive/texlive2018/bin/win32
+ kpsewhich --var-value selfautoloc
+
/* It is helpful for users to output the fully-expanded (as a
string, no filesystem checks) value. We can't call brace_expand
as part of kpathsea_var_value, though, because unfortunately it
is not reentrant. We use var_value in lots of places in the
source, and it clobbers the static buffer in the kpse structure. */
value = kpathsea_brace_expand (kpse, value);
+#endif
puts (value);
}