]> git.pld-linux.org Git - packages/bash.git/blobdiff - bash-paths.patch
- up to 5.0
[packages/bash.git] / bash-paths.patch
index dbd44b8a66f9c105681869cadadfd13dd7f2b2b4..21736d50379fc87600bf1ccb6de82e6471d1c226 100644 (file)
@@ -10,11 +10,9 @@ diff -urbB bash-3.0.org/config.h.in bash-3.0/config.h.in
  
  /* Characteristics of the system's header files and libraries that affect
     the compilation environment. */
-Tylko w bash-3.0: config.h.in.orig
-diff -urbB bash-3.0.org/config-top.h bash-3.0/config-top.h
---- bash-3.0.org/config-top.h  2003-08-05 16:36:12.000000000 +0200
-+++ bash-3.0/config-top.h      2005-10-08 19:36:04.395581500 +0200
-@@ -59,14 +59,14 @@
+--- bash-5.0/config-top.h~     2019-03-21 14:06:54.000000000 +0100
++++ bash-5.0/config-top.h      2019-03-21 14:08:18.043987487 +0100
+@@ -63,7 +63,7 @@
  /* The default value of the PATH variable. */
  #ifndef DEFAULT_PATH_VALUE
  #define DEFAULT_PATH_VALUE \
@@ -22,12 +20,13 @@ diff -urbB bash-3.0.org/config-top.h bash-3.0/config-top.h
 +  "/usr/local/bin:/bin:/usr/bin"
  #endif
  
- /* The value for PATH when invoking `command -p'.  This is only used when
+ /* If you want to unconditionally set a value for PATH in every restricted
+@@ -74,7 +74,7 @@
     the Posix.2 confstr () function, or CS_PATH define are not present. */
  #ifndef STANDARD_UTILS_PATH
  #define STANDARD_UTILS_PATH \
 -  "/bin:/usr/bin:/sbin:/usr/sbin:/etc:/usr/etc"
-+  "/bin:/usr/bin:/sbin:/usr/sbin"
++  "/usr/local/bin:/bin:/usr/bin"
  #endif
  
  /* Default primary and secondary prompt strings. */
This page took 0.064307 seconds and 4 git commands to generate.