projects
/
hvlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb3ccd
)
Add sourcing of scripts in /etc/profile.d
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 27 Aug 2013 01:30:34 +0000
(21:30 -0400)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Thu, 31 Jul 2014 02:15:23 +0000
(22:15 -0400)
stage1/create-config-files
patch
|
blob
|
history
diff --git
a/stage1/create-config-files
b/stage1/create-config-files
index
b206749
..
a4381db
100755
(executable)
--- a/
stage1/create-config-files
+++ b/
stage1/create-config-files
@@
-89,6
+89,13
@@
LC_COLLATE=C
LC_CTYPE=C
export PATH MANPATH LANG LC_COLLATE LC_CTYPE PS1 PS2 USER LOGNAME MAIL HISTFILESIZE HISTSIZE HOSTNAME EDITOR CFLAGS CXXFLAGS
+
+for script in /etc/profile.d/*.sh ; do
+ if [ -r ${script} ]; then
+ . ${script}
+ fi
+done
+
EOF
sed -i -e "s!_DEFAULT_EDITOR_!${DEFAULT_EDITOR}!g" ${LFS}/etc/profile