ports/devel/coccigrep/patches/patch-src_coccigrep_py

12 lines
388 B
Text

Index: src/coccigrep.py
--- src/coccigrep.py.orig
+++ src/coccigrep.py
@@ -83,7 +83,7 @@ class CocciRunException(CocciException):
_CONF_FILES = tuple((path.join(dirname, name_format % 'coccigrep')
for dirname, name_format in
((path.dirname(__file__), '%s.cfg'),
- ('/etc', '%s'),
+ ('${SYSCONFDIR}', '%s'),
(path.expanduser('~'), '.%s'),
(getcwd(), '.%s'))))