<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-2"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Romeo,<div><br><div><div>Am 04.09.2012 um 22:34 schrieb Romeo Theriault <<a href="mailto:romeotheriault@opencsw.org">romeotheriault@opencsw.org</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">On Tue, Sep 4, 2012 at 7:04 AM, Maciej (Matchek) Bliziński <span dir="ltr"><<a href="mailto:maciej@opencsw.org" target="_blank">maciej@opencsw.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2012/8/26  <<a href="mailto:romeotheriault@users.sourceforge.net">romeotheriault@users.sourceforge.net</a>>:<br>
<div class="im">> +CHECKPKG_OVERRIDES_CSWpy-salt += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/states/pkgng.py<br>
> +CHECKPKG_OVERRIDES_CSWpy-salt += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/modules/pkgng.py<br>
> +CHECKPKG_OVERRIDES_CSWpy-salt += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/modules/poudriere.py<br>
> +CHECKPKG_OVERRIDES_CSWpy-salt += file-with-bad-content|/usr/local|root/opt/csw/lib/python/site-packages/salt/modules/cassandra.py<br>
<br>
</div>Instead of all these specific overrides, you can add one general one:<br>
<br>
CHECKPKG_OVERRIDES_CSWpy-salt += file-with-bad-content<br>
<br>
It will apply to all files in the package.<br>
</blockquote></div><br><div>Ahh, cool! Great to know. Thanks.</div></blockquote><br></div><div>I suggest to also add a comment why it is safe to override, like</div><div>  # The occurrences of /usr/local are in example sections only</div><div>or such.</div><div><br></div><div><br></div><div>Best regards</div><div><br></div><div>  -- Dago</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><span class="Apple-style-span" style="font-size: 12px; ">-- </span></div><div><span class="Apple-style-span" style="font-size: 12px; ">"You don't become great by trying to be great, you become great by wanting to </span><span class="Apple-style-span" style="font-size: 12px; ">do something,</span></div><div><span class="Apple-style-span" style="font-size: 12px; ">and then doing it so hard that you become great in the process." - xkcd #896</span></div></span>
</div>
<br></div></body></html>