diff options
author | Karl Berry <karl@freefriends.org> | 2007-12-24 01:05:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-12-24 01:05:58 +0000 |
commit | a07a133a06ff8641e8f52ccbdb0c33774d25e2b0 (patch) | |
tree | 26e406f3cc553baca514eadea571d06b7b0cfc10 /Build/source/texk | |
parent | bf57c62ac76b4e26fdd833e56e77837b2546435b (diff) |
--subdir implies --all
git-svn-id: svn://tug.org/texlive/trunk@5852 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/kpathsea/kpsewhich.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index 01dcd8a89ba..2ef873c3e6a 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -518,6 +518,12 @@ main P2C(int, argc, string *, argv) puts (value); } + /* --subdir must imply --all, since we filter here after doing the + search, rather than inside the search itself. */ + if (STR_LIST_LENGTH (subdir_paths) > 0) { + show_all = 1; + } + for (; optind < argc; optind++) { unfound += lookup (argv[optind]); } |