[oe-commits] : bash: apply patch from clement.hermann at free. fr to set a more sensible default PATH

OE GIT Trial gittrial at amethyst.openembedded.net
Fri Aug 1 20:08:41 UTC 2008


Module: OE.dev
Branch: master
Commit: 1309ff11765e4debfe0ced940ffdbed6f7eaa564
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=1309ff11765e4debfe0ced940ffdbed6f7eaa564

Author:  <pb at openembedded.org>
Date:   Fri Aug  1 19:50:11 2008 +0000

bash: apply patch from clement.hermann at free.fr to set a more sensible default PATH

---

 packages/bash/bash_3.0.bb              |    3 ++-
 packages/bash/bash_3.2.bb              |    3 ++-
 packages/bash/files/default_path.patch |   12 ++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/packages/bash/bash_3.0.bb b/packages/bash/bash_3.0.bb
index a3aa25d..e23887a 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 0cf8ff5..6a48a4b 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 0000000..7d87850
--- /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





More information about the Openembedded-commits mailing list