]> git.pld-linux.org Git - packages/zgv.git/blame - zgv-home_etc.patch
info files are in -common
[packages/zgv.git] / zgv-home_etc.patch
CommitLineData
f78f051f 1diff -Nru zgv-5.7.orig/src/rcfile.c zgv-5.7/src/rcfile.c
2--- zgv-5.7.orig/src/rcfile.c 2003-06-30 15:41:43.000000000 +0200
3+++ zgv-5.7/src/rcfile.c 2003-11-09 15:15:39.000000000 +0100
4@@ -267,7 +267,9 @@
5 static char cfgfile[1024];
6 FILE *in;
7 int got_rcfile=0;
8-char *home=getenv("HOME");
9+char *home=getenv("HOME_ETC");
10+
11+if (!home) home=getenv("HOME");
12
13 defaultcfg();
14
This page took 0.427904 seconds and 4 git commands to generate.