summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/base-files/base-files/profile6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/base-files/base-files/profile b/meta/recipes-core/base-files/base-files/profile
index 53c2680409..e98e786b12 100644
--- a/meta/recipes-core/base-files/base-files/profile
+++ b/meta/recipes-core/base-files/base-files/profile
@@ -20,8 +20,10 @@ if [ "$PS1" ]; then
20fi 20fi
21 21
22if [ -d /etc/profile.d ]; then 22if [ -d /etc/profile.d ]; then
23 for i in /etc/profile.d/* ; do 23 for i in /etc/profile.d/*.sh ; do
24 . $i 24 if [ -f $i -a -r $i ]; then
25 . $i
26 fi
25 done 27 done
26 unset i 28 unset i
27fi 29fi