ports/devel/phpsh/files/patch-src_phpsh.py
Marcus von Appen 9d52544272 - Convert to PYDISTUTILS_AUTOPLIST
- Use ETCDIR

PR:		ports/185947
With hat:	python@
2014-02-22 10:48:08 +00:00

14 lines
316 B
Python

$FreeBSD$
--- src/phpsh.py.orig
+++ src/phpsh.py
@@ -274,7 +274,7 @@
self.config.add_section("Emacs")
def read(self):
- config_files = ["/etc/phpsh/config"]
+ config_files = ["%%ETCDIR%%/config"]
home = os.getenv("HOME")
if home:
homestr = home.strip()