summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-09-02 10:33:50 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-09-02 10:33:50 +0000
commitf9996c1c2e59c65920ee4cbbc484de2e67ce0e81 (patch)
tree243dd88267a458809ef29829c38a20bad0639811 /Build/source
parent2b4b8b416adfa6d388f5591593d3305e5ca860ec (diff)
upmendex: sync with mendex
git-svn-id: svn://tug.org/texlive/trunk@64264 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/upmendex/ChangeLog7
-rw-r--r--Build/source/texk/upmendex/main.c18
2 files changed, 16 insertions, 9 deletions
diff --git a/Build/source/texk/upmendex/ChangeLog b/Build/source/texk/upmendex/ChangeLog
index 3d319cca616..c701226b534 100644
--- a/Build/source/texk/upmendex/ChangeLog
+++ b/Build/source/texk/upmendex/ChangeLog
@@ -1,3 +1,10 @@
+2022-09-02 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+
+ * main.c:
+ Moved calls of KP_entry_filetype() after checking options.
+ This change prevents unwanted looking for texmf.cnf.
+ https://github.com/texjporg/tex-jp-build/pull/144
+
2022-05-22 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* version 1.01 Stable version.
diff --git a/Build/source/texk/upmendex/main.c b/Build/source/texk/upmendex/main.c
index 43183192679..8afbb259da3 100644
--- a/Build/source/texk/upmendex/main.c
+++ b/Build/source/texk/upmendex/main.c
@@ -45,15 +45,6 @@ int main(int argc, char **argv)
}
#endif
- kp_ist.var_name = "INDEXSTYLE";
- kp_ist.path = DEFAULT_INDEXSTYLES; /* default path. */
- kp_ist.suffix = "ist";
- KP_entry_filetype(&kp_ist);
- kp_dict.var_name = "INDEXDICTIONARY";
- kp_dict.path = DEFAULT_INDEXDICTS; /* default path */
- kp_dict.suffix = "dict";
- KP_entry_filetype(&kp_dict);
-
/* check options */
for (i=1,j=k=0;i<argc && j<256;i++) {
@@ -191,6 +182,15 @@ int main(int argc, char **argv)
}
idxcount=j+fsti;
+ kp_ist.var_name = "INDEXSTYLE";
+ kp_ist.path = DEFAULT_INDEXSTYLES; /* default path. */
+ kp_ist.suffix = "ist";
+ KP_entry_filetype(&kp_ist);
+ kp_dict.var_name = "INDEXDICTIONARY";
+ kp_dict.path = DEFAULT_INDEXDICTS; /* default path */
+ kp_dict.suffix = "dict";
+ KP_entry_filetype(&kp_dict);
+
/* check option errors */
if (idxcount==0) idxcount=fsti=1;