Skip to content
Snippets Groups Projects
Commit 7ac27f1e authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Ensure the builds directory exists during restore

parent 8df6ac5b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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 - -- .),
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment