1 |
Sanitize insopts when calling doins, in order to avoid prior insopts |
2 |
calls accidentally affecting do*/new* functions defined by the eclass. |
3 |
--- |
4 |
eclass/tmpfiles.eclass | 2 ++ |
5 |
1 file changed, 2 insertions(+) |
6 |
|
7 |
diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass |
8 |
index 746225784128..c60e86f5ef95 100644 |
9 |
--- a/eclass/tmpfiles.eclass |
10 |
+++ b/eclass/tmpfiles.eclass |
11 |
@@ -76,6 +76,7 @@ dotmpfiles() { |
12 |
done |
13 |
|
14 |
( |
15 |
+ insopts |
16 |
insinto /usr/lib/tmpfiles.d |
17 |
doins "$@" |
18 |
) |
19 |
@@ -93,6 +94,7 @@ newtmpfiles() { |
20 |
fi |
21 |
|
22 |
( |
23 |
+ insopts |
24 |
insinto /usr/lib/tmpfiles.d |
25 |
newins "$@" |
26 |
) |
27 |
-- |
28 |
2.18.0.rc1 |