1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/misc/grc/files/patch-grc
Adam Weinberger 20975abf4b Update grc 1.0.2 -> 1.0.4
Approved by:	pat
2002-11-12 22:15:07 +00:00

18 lines
484 B
Plaintext

--- 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