diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-09-18 14:14:12 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-09-18 14:14:12 +0200 |
commit | 7ac27f1e34083eb5fc6e36f3abac2f9cac7533b8 (patch) | |
tree | 5743d9e58a04d96b302bc5504a812c7fd723a23f | |
parent | 8df6ac5bc635c5b0c5eb33bdf3b8f030e521385a (diff) | |
download | gitlab-ci-7ac27f1e34083eb5fc6e36f3abac2f9cac7533b8.tar.gz |
Ensure the builds directory exists during restore
-rw-r--r-- | lib/backup/builds.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/backup/builds.rb b/lib/backup/builds.rb index 285cf65..52c6089 100644 --- a/lib/backup/builds.rb +++ b/lib/backup/builds.rb @@ -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 - -- .), |