]> git.proxmox.com Git - rustc.git/commitdiff
d/check-orig-suspicious.sh: remove duplicate comment stripping
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 2 May 2024 16:11:07 +0000 (18:11 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 2 May 2024 16:11:07 +0000 (18:11 +0200)
this has been part of audit-vendor-source in the cargo package since 0.47.0 ..

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
debian/check-orig-suspicious.sh

index b27dbf767f12b296ffc46dd159305ac0269d37e5..17765979c4d2e4bc74d510d2ca236a33151c4d74 100755 (executable)
@@ -9,11 +9,6 @@ SUS_WHITELIST=$(find "${PWD}/debian" -name upstream-tarball-unsuspicious.txt -ty
 rm -rf rustc-${ver/*~*/beta}-src/
 tar xf ../rustc_$ver+dfsg1.orig.tar.xz && cd rustc-${ver/*~*/beta}-src/
 
-# TODO: remove this code snippet after it gets into our cargo
-# Strip comments & blank lines before testing rust source code -
-# some authors like to write really long comments
-find . -name '*.rs' -execdir sed -i -e '\,^\s*//,d' -e '/^\s*$/d' '{}' \;
-
 /usr/share/cargo/scripts/audit-vendor-source \
   "$SUS_WHITELIST" \
   "Files-Excluded: in debian/copyright and run a repack." \