Add etc/profile.d/* reading to bash package
[termux-packages] / packages / bash / etc-profile
1 if [ -d @TERMUX_PREFIX@/etc/profile.d ]; then
2 for i in @TERMUX_PREFIX@/etc/profile.d/*.sh; do
3 if [ -r $i ]; then
4 . $i
5 fi
6 done
7 unset i
8 fi