diff options
author | James Lopez <james@jameslopez.es> | 2016-05-03 13:41:23 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-05-03 13:41:23 +0300 |
commit | 9d306eb132bf153a0c93dd870d3a098028f12384 (patch) | |
tree | a0e06d8538c26e95b725f808bfafa2334db8a0d5 /lib/gitlab/import_export/importer.rb | |
parent | 548c91e3c58d03d1e99c7945d14afe4abd605217 (diff) |
picking stuff from ui related to import
Diffstat (limited to 'lib/gitlab/import_export/importer.rb')
-rw-r--r-- | lib/gitlab/import_export/importer.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/importer.rb b/lib/gitlab/import_export/importer.rb index 9f399845437..8f838287f97 100644 --- a/lib/gitlab/import_export/importer.rb +++ b/lib/gitlab/import_export/importer.rb @@ -13,13 +13,14 @@ module Gitlab end def import + FileUtils.mkdir_p(@storage_path) decompress_archive end private def decompress_archive - untar_czf(archive: @archive_file, dir: @storage_path) + untar_zxf(archive: @archive_file, dir: @storage_path) end end end |