diff options
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/base-files/base-files/profile | 6 |
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 | |||
20 | fi | 20 | fi |
21 | 21 | ||
22 | if [ -d /etc/profile.d ]; then | 22 | if [ -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 |
27 | fi | 29 | fi |