summaryrefslogtreecommitdiff
path: root/misc/grc/files/patch-grc
blob: 6ea36bc4e79868c655e4c6cb93eedda90c9155fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- grc.orig	Wed Sep  4 05:01:42 2002
+++ grc	Tue Nov 12 00:58:50 2002
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!%%PYTHON_CMD%%
 
 import os, re, string, sys, getopt, signal
 
@@ -74,7 +74,7 @@
     home = []
     if os.environ.has_key('HOME'):
         home = [os.environ['HOME']+"/.grc/grc.conf"]
-    conffilenames = home + ["/etc/grc.conf"]
+    conffilenames = home + ["%%PREFIX%%/etc/grc.conf"]
     for i in conffilenames:
         if os.path.isfile(i):
             conffile = i