Commit f6c9883d authored by James Lopez's avatar James Lopez

Merge branch 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into...

Merge branch 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export-ui-experimental
parents 350022ff ff56f7be
...@@ -13,7 +13,7 @@ module Gitlab ...@@ -13,7 +13,7 @@ module Gitlab
end end
def import def import
FileUtils.mkdir_p(@shared.storage_path) FileUtils.mkdir_p(@shared.export_path)
decompress_archive decompress_archive
rescue => e rescue => e
@shared.error(e.message) @shared.error(e.message)
...@@ -23,7 +23,7 @@ module Gitlab ...@@ -23,7 +23,7 @@ module Gitlab
private private
def decompress_archive def decompress_archive
untar_zxf(archive: @archive_file, dir: @shared.storage_path) untar_zxf(archive: @archive_file, dir: @shared.export_path)
end end
end end
end end
......
Markdown is supported
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