dev/list-remaining-deps.sh: Add missing definition of abort()
Nicolas Braud-Santoni
4 years ago
0 | 0 |
#!/bin/sh
|
|
1 |
|
|
2 |
abort() { local x=$1; shift; for i in "$@"; do echo >&2 "$0: abort: $i"; done; exit "$x"; }
|
1 | 3 |
|
2 | 4 |
echo >&2 "Note, this script is not very accurate and may print out redundant stuff,"
|
3 | 5 |
echo >&2 "e.g. dependencies of crates that we already patched away in Debian."
|