From a79f98621cca3304c06ab3312603b3314bfe773f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Jul 2014 19:29:33 -0400 Subject: v5 v6: ensure reset of parsed document directory path * needed in the case of html for some subsequent processing --- lib/sisu/v6/texinfo.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/sisu/v6/texinfo.rb') diff --git a/lib/sisu/v6/texinfo.rb b/lib/sisu/v6/texinfo.rb index f17ab1ab..459d3ac5 100644 --- a/lib/sisu/v6/texinfo.rb +++ b/lib/sisu/v6/texinfo.rb @@ -100,7 +100,11 @@ module SiSU_TexInfo end end def read - song + begin + song + ensure + Dir.chdir(@opt.f_pth[:pth]) + end end def song begin -- cgit v1.2.3