summaryrefslogtreecommitdiffstats
path: root/debian/lintian-to-copyright.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:03:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:03:05 +0000
commit217d9223a5aa75daf9f286fd1fc06dae379b5dbc (patch)
treeb43bedae234ad56894a82934ee57e3619f3374d5 /debian/lintian-to-copyright.sh
parentAdding upstream version 1.64.0+dfsg1. (diff)
downloadrustc-7cfdc478fb8231156bfe4919a414d41fde839ab8.tar.xz
rustc-7cfdc478fb8231156bfe4919a414d41fde839ab8.zip
Adding debian version 1.64.0+dfsg1-1.debian/1.64.0+dfsg1-1
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 000000000..9a766da35
--- /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