7014413 userland should not include _ in facet.locale.* names (fix pkglint)
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Fri, 28 Jan 2011 11:44:21 -0800
changeset 65 1fa3eaf1bf9d
parent 64 a4b12971cf99
child 66 8cac19a5c726
7014413 userland should not include _ in facet.locale.* names (fix pkglint)
transforms/locale
--- a/transforms/locale	Wed Jan 26 13:22:43 2011 -0800
+++ b/transforms/locale	Fri Jan 28 11:44:21 2011 -0800
@@ -27,5 +27,11 @@
 <transform dir link hardlink path=.*/locale$ -> default facet.locale true>
 
 <transform dir file link hardlink \
-    path=.*/locale/([^_/]+)([\._].+){0,1}(/.+){0,1}$ -> \
+    path=.*/locale/([^/]+)(\..+){0,1}(/.+){0,1}$ -> \
     default facet.locale.%<\1> true>
+
+# skip pkglint(1) on actions where where facet.locale tags contains '_' until
+# we can change this to only skip the '_' in attribute name warning.
+<transform dir file link hardlink \
+    path=.*/locale/[^_/]+_[^/]+(/.+){0,1}$ -> \
+    default pkg.linted true>