]> git.proxmox.com Git - cargo.git/commitdiff
debian-cargo-vendor: cleanup .pc dirs
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 6 May 2021 08:30:24 +0000 (10:30 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 6 May 2021 08:30:24 +0000 (10:30 +0200)
we have the patches, no need to store all the intermediate files
generated by quilt as well..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/scripts/debian-cargo-vendor

index 5e1d59fec20188ac3d38d18acbf569bc85cdd0dc..505c2f8d94f854ee3c6f5a16e58422f9819d15d7 100755 (executable)
@@ -141,6 +141,7 @@ for i in *; do (
        if [ -d debian/patches ]; then
                rm -rf "../../debcargo-conf/src/$debname/debian/patches"
                cp -a debian/patches "../../debcargo-conf/src/$debname/debian/"
+               rm -rf .pc
        fi
 ); done; )
 ( cd debcargo-conf