From f6be69286e88c3516883f094eb60245124e440ae Mon Sep 17 00:00:00 2001 From: Laurent Vallar Date: Thu, 2 May 2013 07:52:25 +0200 Subject: [PATCH] Create boxes/temp directory if none (regression fix) --- tasks/boxes.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/boxes.rake b/tasks/boxes.rake index bdb0242..950cf19 100644 --- a/tasks/boxes.rake +++ b/tasks/boxes.rake @@ -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') +