diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-01-19 03:19:08 +0000 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-01-19 03:35:04 +0000 |
commit | d6b580c9f67a9ee4b5f57310f34c28799d616da1 (patch) | |
tree | 37fab43f2d367e59cc5bcee178a844e176f7f97c /lib/sisu/v0/html_segments.rb | |
parent | permit to run on ruby 1.9, debian unstable requires it (diff) |
mkdir_p, and again close running of ruby 1.9
* mkdir_p, [instead of ftools file.mkpath]
* running against ruby 1.9 closed for now
raise request for use of version 1.8 branch
* manual update version
Diffstat (limited to 'lib/sisu/v0/html_segments.rb')
-rw-r--r-- | lib/sisu/v0/html_segments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v0/html_segments.rb b/lib/sisu/v0/html_segments.rb index c170aa81..7972619a 100644 --- a/lib/sisu/v0/html_segments.rb +++ b/lib/sisu/v0/html_segments.rb @@ -146,7 +146,7 @@ module SiSU_HTML_seg if para =~/^4~\S+/ \ or para =~/^<ENDNOTES>|^<EOF>/ # @@level4 if tracking != 0 - File.mkpath(@md.dir_out) unless FileTest.directory?(@md.dir_out) #bug - added specifically for nav! not needed by regular seg, check !!! + mkdir_p(@md.dir_out) unless FileTest.directory?(@md.dir_out) #bug - added specifically for nav! not needed by regular seg, check !!! Seg.new('',@md).tail segfilename="#{@md.dir_out}/#{@md.fnl[:pre]}#{@@seg_name_html[tracking-1]}#{@md.fnl[:mid]}#@h_sfx#{@md.fnl[:post]}" @@filename_seg=File.new(segfilename,'w') if @@seg_name_html[tracking-1] |