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