diff options
-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 = " \ |