Using sed in the Makefile instead of manually editing pnp.ids.patch so it covers future codenames.
Using Invalid Vendor Codename as the replacement string, as it conveys the intended meaning and is informative enough that an end-user will (hopefully) not take it as an error or confuse with another issue.
Taking care to guard the regex within the boundaries of \t and -, so it only matches the beginning of the Vendor names with that specific pattern.
Using
sed
in the Makefile instead of manually editingpnp.ids.patch
so it covers future codenames.Using
Invalid Vendor Codename
as the replacement string, as it conveys the intended meaning and is informative enough that an end-user will (hopefully) not take it as an error or confuse with another issue.Taking care to guard the regex within the boundaries of
\t
and-
, so it only matches the beginning of the Vendor names with that specific pattern.