blob: 2860e2ed17c254fe63093e0794c4aaa8cbb65445 [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
Paul Duffin2be27a02024-06-28 01:07:30 +01009 "$metalava_path" signature-to-dex "$f" --out "${tmp_dir}/tmp"
Anton Hanssona15427a2020-10-02 18:21:14 +010010 cat "${tmp_dir}/tmp"
11done