Skip to content

Commit

Permalink
texdocs_spec.rb: set to real TEXMFDIST
Browse files Browse the repository at this point in the history
  • Loading branch information
wtsnjp committed Aug 10, 2024
1 parent 5f6d1c9 commit e137e9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/search/texdocs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
context "with standard testing setup" do
before(:each) { run_texdoc "-dtexdocs", "listings" }

let(:texmf_dist_regex) {
Regexp.escape(normalize_path("/usr/local/texlive/YEAR/texmf-dist")).sub("YEAR", '\d\d\d\d')
}
let(:texmf_dist_regex) { Regexp.escape(normalize_path(`kpsewhich -var-value TEXMFDIST`.chomp)) }
let(:texmf_home_regex) { Regexp.escape(normalize_path(texmf_home)) }

let(:texdocs_n_dist) {
Expand Down

0 comments on commit e137e9d

Please sign in to comment.