components/bash/patches/solaris-001.config-top.h.patch
changeset 5518 c47fe0edc204
parent 115 c360825c3a3f
child 7485 89b2d849f322
equal deleted inserted replaced
5517:7758049098f4 5518:c47fe0edc204
     1 --- config-top.h	2009-12-22 12:29:39.000000000 -0800
     1 # Define defaults for Solaris.
     2 +++ config-top.h	2010-09-01 10:24:03.070928602 -0700
     2 # Solaris-specific patch.
     3 @@ -54,14 +54,14 @@
     3 # Not for upstream.
       
     4 --- config-top.h	2012-08-18 17:51:30.000000000 -0700
       
     5 +++ config-top.h	2015-04-02 10:08:29.143843829 -0700
       
     6 @@ -59,14 +59,14 @@
     4  /* The default value of the PATH variable. */
     7  /* The default value of the PATH variable. */
     5  #ifndef DEFAULT_PATH_VALUE
     8  #ifndef DEFAULT_PATH_VALUE
     6  #define DEFAULT_PATH_VALUE \
     9  #define DEFAULT_PATH_VALUE \
     7 -  "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:."
    10 -  "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:."
     8 +  "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:."
    11 +  "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:."
     9  #endif
    12  #endif
    10  
    13  
    11  /* The value for PATH when invoking `command -p'.  This is only used when
    14  /* The value for PATH when invoking `command -p'.  This is only used when
    12     the Posix.2 confstr () function, or CS_PATH define are not present. */
    15     the Posix.2 confstr () function, or CS_PATH define are not present. */
    15 -  "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
    18 -  "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
    16 +  "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/etc/bash"
    19 +  "/usr/gnu/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/etc/bash"
    17  #endif
    20  #endif
    18  
    21  
    19  /* Default primary and secondary prompt strings. */
    22  /* Default primary and secondary prompt strings. */
    20 @@ -75,14 +75,14 @@
    23 @@ -80,14 +80,14 @@
    21  #define KSH_COMPATIBLE_SELECT
    24  #define KSH_COMPATIBLE_SELECT
    22  
    25  
    23  /* System-wide .bashrc file for interactive shells. */
    26  /* System-wide .bashrc file for interactive shells. */
    24 -/* #define SYS_BASHRC "/etc/bash.bashrc" */
    27 -/* #define SYS_BASHRC "/etc/bash.bashrc" */
    25 +#define SYS_BASHRC "/etc/bash/bashrc"
    28 +#define SYS_BASHRC "/etc/bash/bashrc"