summaryrefslogtreecommitdiff
path: root/packages/bash
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-08-01 19:50:11 +0000
committerPhil Blundell <philb@gnu.org>2008-08-01 19:50:11 +0000
commit6402bd6cbaded4993ddac180f53ff9c5eac7309e (patch)
treec2d0d21490ea15dd359df4c27081d774bc05fa7a /packages/bash
parentd91644f23743d5bb330ab64634b9f785982da377 (diff)
bash: apply patch from clement.hermann@free.fr to set a more sensible default PATH
Diffstat (limited to 'packages/bash')
-rw-r--r--packages/bash/bash_3.0.bb3
-rw-r--r--packages/bash/bash_3.2.bb3
-rw-r--r--packages/bash/files/default_path.patch12
3 files changed, 16 insertions, 2 deletions
diff --git a/packages/bash/bash_3.0.bb b/packages/bash/bash_3.0.bb
index a3aa25dee5..e23887aefe 100644
--- a/packages/bash/bash_3.0.bb
+++ b/packages/bash/bash_3.0.bb
@@ -1,7 +1,8 @@
require bash.inc
-PR = "r10"
+PR = "r11"
SRC_URI += "\
file://bash-3.0-fixes.patch;patch=1 \
+ file://default_path.patch;patch=1 \
file://signames-mipsel.diff;patch=1 \
"
diff --git a/packages/bash/bash_3.2.bb b/packages/bash/bash_3.2.bb
index 0cf8ff5f26..6a48a4bd60 100644
--- a/packages/bash/bash_3.2.bb
+++ b/packages/bash/bash_3.2.bb
@@ -1,6 +1,6 @@
require bash.inc
-PR = "r6"
+PR = "r7"
SRC_URI += "\
file://builtins.patch;patch=1 \
@@ -43,4 +43,5 @@ SRC_URI += "\
http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-037;patch=1;pnum=0 \
http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-038;patch=1;pnum=0 \
http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-039;patch=1;pnum=0 \
+ file://default_path.patch;patch=1 \
"
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