summaryrefslogtreecommitdiff
path: root/wget-home_etc.patch
blob: b6f50733ded6f595a2c59603728b11ca02152422 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -urNp -x '*.orig' wget-1.21.1.org/src/init.c wget-1.21.1/src/init.c
--- wget-1.21.1.org/src/init.c	2021-01-08 23:51:43.000000000 +0100
+++ wget-1.21.1/src/init.c	2021-05-06 00:07:44.234635623 +0200
@@ -522,6 +522,7 @@ home_dir (void)
   static char *buf = NULL;
   static char *home, *ret;
 
+  home = getenv("HOME_ETC");
   if (!home)
     {
       home = getenv ("HOME");