aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/texpdf.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-07-29 19:29:33 -0400
committerRalph Amissah <ralph@amissah.com>2014-07-29 19:29:35 -0400
commita79f98621cca3304c06ab3312603b3314bfe773f (patch)
tree45a3d2aec9b300723004dd80235029b79cb568c5 /lib/sisu/v5/texpdf.rb
parentv5 v6: options, minor fixes (diff)
v5 v6: ensure reset of parsed document directory pathsisu_5.5.5
* needed in the case of html for some subsequent processing
Diffstat (limited to 'lib/sisu/v5/texpdf.rb')
-rw-r--r--lib/sisu/v5/texpdf.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sisu/v5/texpdf.rb b/lib/sisu/v5/texpdf.rb
index 7d12b249..8d6a01c5 100644
--- a/lib/sisu/v5/texpdf.rb
+++ b/lib/sisu/v5/texpdf.rb
@@ -114,7 +114,11 @@ module SiSU_TeX
end
end
def read
- song
+ begin
+ song
+ ensure
+ Dir.chdir(@opt.f_pth[:pth])
+ end
end
def song
begin