Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
8
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-qa-sandbox-group
qa-test-2019-05-06-03-38-42-40f225278db2df81
add-member-project-38ac0d05ff9a6e41
Commits
7ac27f1e
Commit
7ac27f1e
authored
Sep 18, 2015
by
Jacob Vosmaer
Browse files
Ensure the builds directory exists during restore
parent
8df6ac5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/backup/builds.rb
View file @
7ac27f1e
...
...
@@ -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 - -- .)
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment