Create boxes/temp directory if none (regression fix)

This commit is contained in:
Laurent Vallar 2013-05-02 07:52:25 +02:00 committed by Fabio Rehm
parent 5cda7ded90
commit f6be69286e

View file

@ -30,6 +30,7 @@ class BuildGenericBoxTask < ::Rake::TaskLib
exit 1
end
FileUtils.mkdir_p 'boxes/temp' unless File.exist? 'base/temp'
if Dir.entries('boxes/temp').size > 2
puts 'There is a partially built box under ' +
File.expand_path('./boxes/temp') +