1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/misc/grc/files/patch-grc
Ying-Chieh Liao 323aa7a8f0 add grc
Generic Colouriser is yet another colouriser for beautifying your logfiles
or output of commands
2001-03-25 13:17:54 +00:00

18 lines
472 B
Plaintext

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