runit creates a full path to export directory.

This commit is contained in:
Fletcher Nichol
2012-01-18 20:13:08 -07:00
parent 1485eeb859
commit e76f3533dc
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class Foreman::Export::Runit < Foreman::Export::Base
private
def create_directory(location)
say "creating: #{location}"
FileUtils.mkdir(location)
FileUtils.mkdir_p(location)
end
def inline_variables(command)