rustc/debian/lintian-to-copyright.sh
2019-02-05 20:55:14 -08:00

6 lines
207 B
Bash
Executable File

#!/bin/sh
# Pipe the output of lintian into this.
sed -ne 's/.* file-without-copyright-information //p' | cut -d/ -f1-2 | sort -u | while read x; do
/usr/share/cargo/scripts/guess-crate-copyright "$x"
done