We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 299bff0 commit a0128b0Copy full SHA for a0128b0
spec/search/texdocs_spec.rb
@@ -30,9 +30,7 @@
30
context "with standard testing setup" do
31
before(:each) { run_texdoc "-dtexdocs", "listings" }
32
33
- let(:texmf_dist_regex) {
34
- Regexp.escape(normalize_path("/usr/local/texlive/YEAR/texmf-dist")).sub("YEAR", '\d\d\d\d')
35
- }
+ let(:texmf_dist_regex) { Regexp.escape(normalize_path(`kpsewhich -var-value TEXMFDIST`.chomp)) }
36
let(:texmf_home_regex) { Regexp.escape(normalize_path(texmf_home)) }
37
38
let(:texdocs_n_dist) {
0 commit comments