diff options
author | Phil Blundell <philb@gnu.org> | 2008-08-01 19:50:11 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2008-08-01 19:50:11 +0000 |
commit | 6402bd6cbaded4993ddac180f53ff9c5eac7309e (patch) | |
tree | c2d0d21490ea15dd359df4c27081d774bc05fa7a /packages/bash/files | |
parent | d91644f23743d5bb330ab64634b9f785982da377 (diff) |
bash: apply patch from clement.hermann@free.fr to set a more sensible default PATH
Diffstat (limited to 'packages/bash/files')
-rw-r--r-- | packages/bash/files/default_path.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/bash/files/default_path.patch b/packages/bash/files/default_path.patch new file mode 100644 index 0000000000..7d87850965 --- /dev/null +++ b/packages/bash/files/default_path.patch @@ -0,0 +1,12 @@ +diff -Naur bash-3.0.orig/config-top.h bash-3.0/config-top.h +--- bash-3.0.orig/config-top.h 2003-08-05 16:36:12.000000000 +0200 ++++ bash-3.0/config-top.h 2007-08-29 22:30:57.059985318 +0200 +@@ -52,7 +52,7 @@ + /* The default value of the PATH variable. */ + #ifndef DEFAULT_PATH_VALUE + #define DEFAULT_PATH_VALUE \ +- "/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:." ++ "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" + #endif + + /* The value for PATH when invoking `command -p'. This is only used when |