Commit 5cf52bff authored by Francis Chong's avatar Francis Chong

Merge pull request #281 from dlvenable/d8e33949

Fixed http downloader with tar files
parents 3f38916f d8e33949
......@@ -60,9 +60,9 @@ module Pod
when :zip
unzip "'#{full_filename}' -d #{target_path}"
when :tgz
tar "xfz '#{full_filename}' -d #{target_path}"
tar "xfz '#{full_filename}' -C #{target_path}"
when :tar
tar "xf '#{full_filename}' -d #{target_path}"
tar "xf '#{full_filename}' -C #{target_path}"
else
raise UnsupportedFileTypeError.new "Unsupported file type: #{type}"
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