1#!/bin/bash
2
3metalava_path="$1"
4tmp_dir="$2"
5shift 2
6
7# Convert each removed.txt to the "dex format" equivalent, and print all output.
8for f in "$@"; do
9    "$metalava_path" signature-to-dex "$f" "${tmp_dir}/tmp"
10    cat "${tmp_dir}/tmp"
11done
12