     :ok
   end
   defp strip_release(_, _), do: :ok
-
 end

    opts = [
      :silent,
      {:path, ['#{Path.join([release.profile.output_dir, "lib", "*", "ebin"])}']},
      {:dirs, [:include | case release.profile.include_src do
                          true  -> [:src, :c_src]
                          false -> []
                        end]},
      {:outdir, '#{Path.dirname(archive_path)}'} |
      case release.profile.include_erts do
        true ->

             '#{Path.join([output_dir, "releases", release.version, "libexec"])}'},
            {'#{Path.join(["lib", "#{release.name}-#{release.version}", "consolidated"])}',
             '#{Path.join([output_dir, "lib", "#{release.name}-#{release.version}", "consolidated"])}'}] ++
            if release.is_upgrade do
              [{'#{Path.join(["releases", release.version, "relup"])}',
                '#{Path.join([output_dir, "releases", release.version, "relup"])}'}]
            else
              []
            end ++
            case release.profile.include_erts do
              false ->
