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:19:08 +0000 |
commit | 1589a06e7a7781cd88bec3826439c862feaf24ea (patch) | |
tree | ee8afbf0cddb7c9db40fd32087eb7d81073e270c /lib/sisu/v0/share_src.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
Diffstat (limited to 'lib/sisu/v0/share_src.rb')
-rw-r--r-- | lib/sisu/v0/share_src.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v0/share_src.rb b/lib/sisu/v0/share_src.rb index 81897bcb..e7a23e6c 100644 --- a/lib/sisu/v0/share_src.rb +++ b/lib/sisu/v0/share_src.rb @@ -76,8 +76,8 @@ module SiSU_Markup tell.green_hi_blue unless @opt.cmd =~/q/ tell=SiSU_Screen::Ansi.new(@opt.cmd,"Copy sisu markup file to output directory","#{@opt.fns} -> #@output_path") tell.warn unless @opt.cmd =~/q/ - File.mkpath("#{@env.path.output}/src") unless FileTest.directory?("#{@env.path.output}/src") - File.mkpath(@output_path) unless FileTest.directory?(@output_path) + mkdir_p("#{@env.path.output}/src") unless FileTest.directory?("#{@env.path.output}/src") + mkdir_p(@output_path) unless FileTest.directory?(@output_path) if FileTest.directory?(@output_path) unless @opt.fns =~/\.ssm$/; cp(@opt.fns,@output_path) else |