From af86517f935c73e4e90b42387cf4c1bc1b083df3 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 1 Oct 2010 08:48:59 -0400 Subject: share_src, remove repetition, redundancy --- lib/sisu/v2/share_src.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/sisu/v2/share_src.rb b/lib/sisu/v2/share_src.rb index 5c5576f3..900e78ff 100644 --- a/lib/sisu/v2/share_src.rb +++ b/lib/sisu/v2/share_src.rb @@ -76,7 +76,6 @@ module SiSU_Markup : SiSU_Screen::Ansi.new(@opt.cmd,'Share Document Source!',@opt.fns).green_title_hi SiSU_Screen::Ansi.new(@opt.cmd,"Copy sisu markup file to output directory","#{@opt.fns} -> #{@output_path}").warn if @opt.cmd =~/[MVv]/ end - 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) -- cgit v1.2.3