mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-10 04:48:09 +00:00
make rust-src cleanup more robust
rustc-perf now contains a directory called "LICENSES" which trips up this find invocation. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
6c6ae01d99
commit
ee27cb19ec
2
debian/rules
vendored
2
debian/rules
vendored
@ -490,7 +490,7 @@ override_dh_install-indep:
|
||||
dh_install
|
||||
$(RM) -rf $(SRC_CLEAN:%=debian/rust-src/usr/src/rustc-$(RUST_LONG_VERSION)/%)
|
||||
# Get rid of lintian warnings
|
||||
find debian/rust-src/usr/src/rustc-$(RUST_LONG_VERSION) \
|
||||
find debian/rust-src/usr/src/rustc-$(RUST_LONG_VERSION) -type f \
|
||||
\( -name .gitignore \
|
||||
-o -name 'LICENSE*' \
|
||||
-o -name 'LICENCE' \
|
||||
|
Loading…
Reference in New Issue
Block a user