]> git.proxmox.com Git - cargo.git/commitdiff
d/lintian-to-copyright: handle new lintian output
authorFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 15 Oct 2022 12:33:44 +0000 (14:33 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 15 Oct 2022 12:58:19 +0000 (14:58 +0200)
Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
debian/lintian-to-copyright.sh

index d09e12a539b5d246be5eced6d7c03bd7047a789d..ab7960e929e0ec110e2bb1c203ff3d0fec044a0c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
 # Pipe the output of lintian into this.
-sed -ne 's,.* file-without-copyright-information debian/copyright ,,p' | cut -d/ -f1-2 | sort -u | while read x; do
+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