summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/kpsewhich.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-01 00:19:34 +0000
committerKarl Berry <karl@freefriends.org>2009-06-01 00:19:34 +0000
commit4e875a1db1b084b7a86ffb2dc22d508eef3c3d68 (patch)
tree571a2b2ed3569e7f2ba110cf5a84ae85b856ce42 /Build/source/texk/kpathsea/kpsewhich.c
parent1f4af4730e136afbd88453cd0effdfea9ef482cd (diff)
do expansions on user --path value
git-svn-id: svn://tug.org/texlive/trunk@13553 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/kpsewhich.c')
-rw-r--r--Build/source/texk/kpathsea/kpsewhich.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c
index e0280d816e7..e187482672d 100644
--- a/Build/source/texk/kpathsea/kpsewhich.c
+++ b/Build/source/texk/kpathsea/kpsewhich.c
@@ -247,8 +247,9 @@ lookup (kpathsea kpse, string name)
*loc = ':';
}
}
+ user_path = kpathsea_path_expand (kpse, user_path);
if (show_all) {
- ret_list = kpathsea_all_path_search (kpse, user_path, name);
+ ret_list = kpathsea_all_path_search (kpse, user_path, name);
} else {
ret = kpathsea_path_search (kpse, user_path, name, must_exist);
}