commit: e38601ad1302655aa56975c454b1b9421e25e8bb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jun 8 07:16:18 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jun 13 08:09:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38601ad
udev.eclass: Sanitize insopts Sanitize insopts when calling doins, in order to avoid prior insopts calls accidentally affecting do*/new* functions defined by the eclass. eclass/udev.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/udev.eclass b/eclass/udev.eclass index 5e5df073880..b7c6461dd8f 100644 --- a/eclass/udev.eclass +++ b/eclass/udev.eclass @@ -82,6 +82,7 @@ udev_dorules() { debug-print-function ${FUNCNAME} "${@}" ( + insopts -m 0644 insinto "$(_udev_get_udevdir)"/rules.d doins "${@}" ) @@ -96,6 +97,7 @@ udev_newrules() { debug-print-function ${FUNCNAME} "${@}" ( + insopts -m 0644 insinto "$(_udev_get_udevdir)"/rules.d newins "${@}" )