Commit ff56f7be authored by James Lopez's avatar James Lopez

fix importer issue

parent f06c5516
...@@ -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