termux-packages/packages/bash/pathnames.h.in.patch
Yuvraj Saxena 39e65b32bc bash: Update from 4.4 to 5.0
bash 5.0 is no longer in beta or alpha stage

Signed-off-by: Yuvraj Saxena <infectedx27@gmail.com>
2019-02-24 22:42:40 +02:00

16 lines
500 B
Diff

--- a/pathnames.h.in
+++ b/pathnames.h.in
@@ -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@"