aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/sisupod_make.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v0/sisupod_make.rb')
-rw-r--r--lib/sisu/v0/sisupod_make.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/sisupod_make.rb b/lib/sisu/v0/sisupod_make.rb
index a4a97241..669ff49f 100644
--- a/lib/sisu/v0/sisupod_make.rb
+++ b/lib/sisu/v0/sisupod_make.rb
@@ -79,7 +79,7 @@ module SiSU_Doc
@zipfile=if @opt.fns =~/\.ssm\.sst$/; @opt.fns.gsub(/(?:\~\S{2,3})?\.ssm\.sst$/,'.ssm')
else @opt.fns.gsub(/(?:\~\S{2,3})?(\.sst)$/,'\1')
end
- File.mkpath(pod_path) unless FileTest.directory?(pod_path)
+ mkdir_p(pod_path) unless FileTest.directory?(pod_path)
rm_rf("#{@env.path.processing}sisupod/*") if FileTest.directory?("#{@env.path.processing}sisupod")
end
def read
@@ -260,7 +260,7 @@ module SiSU_Doc
end #NB not all possibilies met, revisit, also in case of composite file may wish to add README
end
def sisupod_7zip #look at later
- File.mkpath(@local_path) unless FileTest.directory?(@local_path)
+ mkdir_p(@local_path) unless FileTest.directory?(@local_path)
system(%{
cd #{@env.path.processing}
echo "SiSU sisupod #{@ver[:version]}" > sisu_zip.txt
@@ -275,7 +275,7 @@ module SiSU_Doc
tell.blue_tab unless @opt.cmd =~/q/
end
def sisupod_zip
- File.mkpath(@local_path) unless FileTest.directory?(@local_path)
+ mkdir_p(@local_path) unless FileTest.directory?(@local_path)
system(%{
cd #{@env.path.processing}
echo "SiSU sisupod #{@ver[:version]}" > sisu_zip.txt