Commit 7ac27f1e authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Ensure the builds directory exists during restore

parent 8df6ac5b
......@@ -21,6 +21,7 @@ module Backup
def restore
backup_existing_builds_dir
Dir.mkdir(app_builds_dir, 0700)
system(
*%W(tar -C #{app_builds_dir} -xzf - -- .),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment