diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:47:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:47:57 +0000 |
commit | b6541ea3807ccad597d4890b1a1eeb335f1268ac (patch) | |
tree | acc0b1519e8ee04e2dfe584301d4884a80004831 /debian/lintian-to-copyright.sh | |
parent | Adding upstream version 0.70.1+ds1. (diff) | |
download | cargo-b6541ea3807ccad597d4890b1a1eeb335f1268ac.tar.xz cargo-b6541ea3807ccad597d4890b1a1eeb335f1268ac.zip |
Adding debian version 0.70.1+ds1-2.debian/0.70.1+ds1-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/lintian-to-copyright.sh')
-rwxr-xr-x | debian/lintian-to-copyright.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/lintian-to-copyright.sh b/debian/lintian-to-copyright.sh new file mode 100755 index 0000000..ab7960e --- /dev/null +++ b/debian/lintian-to-copyright.sh @@ -0,0 +1,5 @@ +#!/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 |