aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/share_src.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-01-19 03:19:08 +0000
committerRalph Amissah <ralph@amissah.com>2008-01-19 03:35:04 +0000
commitd6b580c9f67a9ee4b5f57310f34c28799d616da1 (patch)
tree37fab43f2d367e59cc5bcee178a844e176f7f97c /lib/sisu/v0/share_src.rb
parentpermit 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/share_src.rb')
-rw-r--r--lib/sisu/v0/share_src.rb4
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