diff options
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 |