aboutsummaryrefslogtreecommitdiffstats
path: root/misc/grc/files/patch-grc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/grc/files/patch-grc')
-rw-r--r--misc/grc/files/patch-grc17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/grc/files/patch-grc b/misc/grc/files/patch-grc
new file mode 100644
index 000000000000..8a772969902f
--- /dev/null
+++ b/misc/grc/files/patch-grc
@@ -0,0 +1,17 @@
+--- grc.orig Sun Mar 25 20:40:51 2001
++++ grc Sun Mar 25 20:43:14 2001
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python
++#!%%PYTHON_CMD%%
+
+ import os, re, string, sys, getopt, signal
+
+@@ -65,7 +65,7 @@
+
+ conffile = None
+ if cfile == "":
+- conffilename = [os.environ['HOME']+"/.grc/grc.conf", "/etc/grc.conf"]
++ conffilename = [os.environ['HOME']+"/.grc/grc.conf", "%%PREFIX%%/etc/grc.conf"]
+ for i in conffilename:
+ if os.path.isfile(i):
+ conffile = i