summaryrefslogtreecommitdiff
path: root/devel/phpsh/files/patch-src_manual.py
blob: 2af11bd2dd971d20f1901b3a5c20b7bedbf722c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- 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("%%PREFIX%%/etc/phpsh", manual_file)
     conn = sqlite.connect(manual_path)
     cursor = conn.cursor()