ports/devel/phpsh/files/patch-src_manual.py
Mathieu Arnold 8dab11a002 Remove $FreeBSD$ from patches files in categories a-j.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 13:34:20 +00:00

11 lines
405 B
Python

--- src/manual.py.orig
+++ src/manual.py
@@ -69,7 +69,7 @@
manual_file = "php_manual.db"
manual_path = os.path.join(os.getenv("HOME"), ".phpsh", manual_file)
if not os.path.exists(manual_path):
- manual_path = os.path.join("/etc/phpsh", manual_file)
+ manual_path = os.path.join("%%ETCDIR%%", manual_file)
conn = sqlite.connect(manual_path)
cursor = conn.cursor()