From 5566e7eb0ee5508358cc11ae353af5c927d6929c Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Thu, 30 Aug 2018 03:02:01 +0900 Subject: [PATCH] Fix to read bib file from contentdir --- lib/review/book/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/review/book/base.rb b/lib/review/book/base.rb index b2d529583..f318bdab2 100644 --- a/lib/review/book/base.rb +++ b/lib/review/book/base.rb @@ -249,11 +249,11 @@ def part_exist? end def read_bib - File.read(File.join(@basedir, bib_file)) + File.read(File.join(contentdir, bib_file)) end def bib_exist? - File.exist?(File.join(@basedir, bib_file)) + File.exist?(File.join(contentdir, bib_file)) end def prefaces