# File lib/fpm/package/zip.rb, line 40
  def output(output_path)
    output_check(output_path)
    realpath = Pathname.new(output_path).realdirpath.to_s
    ::Dir.chdir(staging_path) do
      safesystem("zip", "-9r", realpath, ".")
    end
  end