summaryrefslogtreecommitdiffstats
path: root/debian/lintian-to-copyright.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:47:57 +0000
commitb6541ea3807ccad597d4890b1a1eeb335f1268ac (patch)
treeacc0b1519e8ee04e2dfe584301d4884a80004831 /debian/lintian-to-copyright.sh
parentAdding upstream version 0.70.1+ds1. (diff)
downloadcargo-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-xdebian/lintian-to-copyright.sh5
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