blob: 9225fe8dfe85c980d0e6a5cf34a5d4304db5e20a [file] [log] [blame]
Anton Hanssona15427a2020-10-02 18:21:14 +01001#!/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" --no-banner "$f" --dex-api "${tmp_dir}/tmp"
10 cat "${tmp_dir}/tmp"
11done