PROFILEREAD="true"
export PROFILEREAD
+# Make sure UID is set
+[ -n "$UID" ] || UID=`id -u`
+export UID
+
# Set locale if it is not set or doesn't contain a dot;
# but all system messages should still be in "native" ("C") language.
-[ "$LANG" = "${LANG#*.}" -a "$LANG" != "C" ] && export LANG="${LANG:-de_DE}.ISO8859-1"
+[ "$LANG" = "${LANG#*.}" -a "$LANG" != "C" ] \
+ && export LANG="${LANG:-de_DE}.ISO8859-1"
export LC_MESSAGES="C"
# Initialize PATH variable
# read profile additions
if [ -d /etc/profile.d ]; then
for f in /etc/profile.d/*; do
- [ -r "$f" ] && . "$f"
+ [ -r "$f" ] || continue
+ case "$f" in
+ *.csh)
+ ;;
+ *)
+ [ -e ~/.ConfigScripts.debug ] \
+ && echo " >> $f ..."
+ . "$f"
+ esac
done
fi