summaryrefslogtreecommitdiff
path: root/packages/bash
diff options
context:
space:
mode:
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