You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: sh_spec.rb
    path of file: ./repos/fpm/spec/fpm/package
    
    the code of the file until where you have to start completion: require "spec_setup"
require "fpm" # local
require "fpm/package/sh" # local
require "tmpdir"

shell_i
    
    def make_sh_package
      # output a package, use it as the input, set the subject to that input
      # package. This helps ensure that we can write and read packages
      # properly.
      tmpfile = Tempfile.new("fpm-test-sh")
      target = tmpfile.path
      # The target file must not exist.
      tmpfile.unlink

      original = FPM::Package::Sh.new
      yield original if block_given?
      original.output(target)

      return target, original
    end