chiark / gitweb /
libuv: Update from 1.20.0 to 1.20.1
[termux-packages] / packages / bash / etc_hosts_and_profile_path.patch
1 --- ../bash-4.2/pathnames.h.in  2009-01-04 20:32:40.000000000 +0100
2 +++ ./pathnames.h.in    2014-02-04 18:34:17.000000000 +0100
3 @@ -22,10 +22,10 @@
4  #define _PATHNAMES_H_
5  
6  /* The default file for hostname completion. */
7 -#define DEFAULT_HOSTS_FILE "/etc/hosts"
8 +#define DEFAULT_HOSTS_FILE "@TERMUX_PREFIX@/etc/hosts"
9  
10  /* The default login shell startup file. */
11 -#define SYS_PROFILE "/etc/profile"
12 +#define SYS_PROFILE "@TERMUX_PREFIX@/etc/profile"
13  
14  /* The default location of the bash debugger initialization/startup file. */
15  #define DEBUGGER_START_FILE    "@DEBUGGER_START_FILE@"