termux-packages/packages/bash/etc_hosts_and_profile_path....

16 lines
582 B
Diff
Raw Normal View History

2015-06-13 01:03:31 +02:00
--- ../bash-4.2/pathnames.h.in 2009-01-04 20:32:40.000000000 +0100
+++ ./pathnames.h.in 2014-02-04 18:34:17.000000000 +0100
@@ -22,10 +22,10 @@
#define _PATHNAMES_H_
/* The default file for hostname completion. */
-#define DEFAULT_HOSTS_FILE "/etc/hosts"
+#define DEFAULT_HOSTS_FILE "@TERMUX_PREFIX@/etc/hosts"
/* The default login shell startup file. */
-#define SYS_PROFILE "/etc/profile"
+#define SYS_PROFILE "@TERMUX_PREFIX@/etc/profile"
/* The default location of the bash debugger initialization/startup file. */
#define DEBUGGER_START_FILE "@DEBUGGER_START_FILE@"