From 9e9d513d625ad4a58804a27afbf14b31ba955964 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 19 Apr 2008 19:51:28 +0000 Subject: Busybox shell is not executing /etc/profile.d/* files, thus fixed. --- packages/base-files/base-files/profile | 6 ++++-- packages/base-files/base-files_3.0.14.bb | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'packages') 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 = " \ -- cgit v1.2.3