fi
# prepend optional directories to PATH ...
unset path
-for d in /Developer/usr/bin /usr/pkg/bin /usr/ucb /usr/lib/ccache /opt/*/bin; do
+for d in \
+ /Developer/usr/bin \
+ /usr/pkg/bin \
+ /usr/ucb \
+ /usr/lib/ccache \
+ /opt/*/bin
+do
if [ -d "$d" -o -h "$d" ]; then
[ -e "$d/.not_in_path" ] || path="$path$d:"
fi
[ -n "$path" ] && PATH="$path$PATH"
unset path
if [ "$LOGNAME" = "root" ]; then
- for d in /usr/pkg/sbin /opt/*/sbin; do
+ for d in \
+ /usr/pkg/sbin \
+ /opt/*/sbin
+ do
if [ -d "$d" -o -h "$d" ]; then
[ -e "$d/.not_in_path" ] || path="$path$d:"
fi
unset path
fi
# append optional directories to PATH ...
-for d in /usr/bin/X11 /usr/games /usr/share/php/bin; do
+for d in \
+ /usr/bin/X11 \
+ /usr/games \
+ /usr/share/php/bin
+do
if [ -d "$d" -o -h "$d" ]; then
[ -e "$d/.not_in_path" ] || PATH="$PATH:$d"
fi
[ -z "$MANPATH" ] \
&& MANPATH="/usr/local/share/man:/usr/share/man:/usr/man"
path=""
- for d in /usr/pkg/share/man /usr/pkg/man /opt/*/share/man /opt/*/man; do
+ for d in \
+ /usr/pkg/share/man \
+ /usr/pkg/man \
+ /opt/*/share/man \
+ /opt/*/man
+ do
[ -d "$d" -o -h "$d" ] && path="$path$d:"
done
[ -n "$path" ] && MANPATH="$path$MANPATH"
# read profile additions
if [ -d /etc/profile.d -o -d /usr/local/etc/profile.d ]; then
- for f in /etc/profile.d/* /usr/local/etc/profile.d/*; do
+ for f in \
+ /etc/profile.d/* \
+ /usr/local/etc/profile.d/*
+ do
[ -r "$f" ] || continue
case "$f" in
*.csh)