mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
20975abf4b
Approved by: pat
18 lines
484 B
Plaintext
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
|