openbsd-ports/devel/coccigrep/patches/patch-src_coccigrep_py
2012-12-08 10:10:22 +00:00

13 lines
485 B
Plaintext

$OpenBSD: patch-src_coccigrep_py,v 1.2 2012/12/08 10:10:22 sthen Exp $
--- src/coccigrep.py.orig Mon Sep 10 15:50:20 2012
+++ src/coccigrep.py Sat Dec 8 10:05:31 2012
@@ -79,7 +79,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'))))