pdksh — a new package in Red Hat Enterprise Linux 5.4 — does not recognize the keyword
source in scripts. However, the
/etc/profile.d/kde.sh script uses the
source keyword in the line
source /etc/sysconfig/prelink. Consequently, if a user is using pdksh as their shell, and KDE is installed, the following error message will be returned in login shells:
ksh: /etc/profile.d/kde.sh[7]: source: not found
To work around this issue, change the
source /etc/sysconfig/prelink
line in the
/etc/profile.d/kde.sh script to
. /etc/sysconfig/prelink
The keyword
. is an alias for
source in all Bourne compatible shells including
bash,
AT&T ksh, and
pdksh.