perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / shell / bash / patches / solaris-001.config-top.h.patch
blob255ab8d4d55474332ba42d7ad6d9e01b3492326d
1 # Define defaults for Solaris.
2 # Solaris-specific patch.
4 # Not for upstream.
6 --- config-top.h 2019-02-02 11:56:23.350780231 +0000
7 +++ config-top.h 2019-02-02 12:04:29.548649985 +0000
8 @@ -63,7 +63,7 @@
9 /* The default value of the PATH variable. */
10 #ifndef DEFAULT_PATH_VALUE
11 #define DEFAULT_PATH_VALUE \
12 - "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
13 + "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:."
14 #endif
16 /* If you want to unconditionally set a value for PATH in every restricted
17 @@ -74,7 +74,7 @@
18 the Posix.2 confstr () function, or CS_PATH define are not present. */
19 #ifndef STANDARD_UTILS_PATH
20 #define STANDARD_UTILS_PATH \
21 - "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
22 + "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/etc/bash"
23 #endif
25 /* Default primary and secondary prompt strings. */
26 @@ -87,14 +87,14 @@
27 #define DEFAULT_BASHRC "~/.bashrc"
29 /* System-wide .bashrc file for interactive shells. */
30 -/* #define SYS_BASHRC "/etc/bash.bashrc" */
31 +#define SYS_BASHRC "/etc/bash/bashrc"
33 /* System-wide .bash_logout for login shells. */
34 -/* #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" */
35 +#define SYS_BASH_LOGOUT "/etc/bash/bash_logout"
37 /* Define this to make non-interactive shells begun with argv[0][0] == '-'
38 run the startup files when not in posix mode. */
39 -/* #define NON_INTERACTIVE_LOGIN_SHELLS */
40 +#define NON_INTERACTIVE_LOGIN_SHELLS 1
42 /* Define this if you want bash to try to check whether it's being run by
43 sshd and source the .bashrc if so (like the rshd behavior). This checks