pkgcore / pkgcheck

pkgcore-based QA utility for ebuild repos
https://pkgcore.github.io/pkgcheck
BSD 3-Clause "New" or "Revised" License
34 stars 29 forks source link

[New Check]: Raise a info/warning on missing || die #680

Open APN-Pucky opened 1 month ago

APN-Pucky commented 1 month ago

Some ebuilds need some manual cd, mv, cp, echo, etc. for which it is easy to miss the || die suffix. Is it possible to catch the trivial cases of missing a die already at the pkgcheck level?

Example from ::sci: https://github.com/gentoo/sci/pull/1270/files#r1592960217

PS: Should have been a new check not feature request...