Create boxes/temp directory if none (regression fix)
This commit is contained in:
parent
5cda7ded90
commit
f6be69286e
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ class BuildGenericBoxTask < ::Rake::TaskLib
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
FileUtils.mkdir_p 'boxes/temp' unless File.exist? 'base/temp'
|
||||||
if Dir.entries('boxes/temp').size > 2
|
if Dir.entries('boxes/temp').size > 2
|
||||||
puts 'There is a partially built box under ' +
|
puts 'There is a partially built box under ' +
|
||||||
File.expand_path('./boxes/temp') +
|
File.expand_path('./boxes/temp') +
|
||||||
|
|
Loading…
Reference in a new issue