diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-04-19 19:51:28 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-04-19 19:51:28 +0000 |
commit | 9e9d513d625ad4a58804a27afbf14b31ba955964 (patch) | |
tree | 4eb15c60125ab18ee591a456cec9ef00217c8be1 | |
parent | 57f5b54d3732a67d4e708eb5146f11d951249afc (diff) |
Busybox shell is not executing /etc/profile.d/* files, thus fixed.
-rw-r--r-- | packages/base-files/base-files/profile | 6 | ||||
-rw-r--r-- | packages/base-files/base-files_3.0.14.bb | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/packages/base-files/base-files/profile b/packages/base-files/base-files/profile index 3dc22f316a..5797535093 100644 --- a/packages/base-files/base-files/profile +++ b/packages/base-files/base-files/profile @@ -20,8 +20,10 @@ if [ "$PS1" ]; then fi if [ -d /etc/profile.d ]; then - for i in `ls /etc/profile.d/`; do - . /etc/profile.d/$i + for i in /etc/profile.d/*.sh; do + if [ -r $i ]; then + . $i + fi done unset i fi diff --git a/packages/base-files/base-files_3.0.14.bb b/packages/base-files/base-files_3.0.14.bb index 0391beaeae..83f6be3054 100644 --- a/packages/base-files/base-files_3.0.14.bb +++ b/packages/base-files/base-files_3.0.14.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "required" -PR = "r77" +PR = "r78" LICENSE = "GPL" SRC_URI = " \ |