View | Details | Raw Unified | Return to bug 155970
Collapse All | Expand All

(-)profile.orig (-16 / +2 lines)
Lines 297-303 Link Here
297
#
297
#
298
# System wide configuration of bourne shells like ash
298
# System wide configuration of bourne shells like ash
299
#
299
#
300
if test -z "$PROFILEREAD" ; then
300
if test -z "$PROFILEREAD" -a "$is" != "ksh" ; then
301
    ENV=/etc/bash.bashrc
301
    ENV=/etc/bash.bashrc
302
    export ENV
302
    export ENV
303
fi
303
fi
Lines 313-319 Link Here
313
#
313
#
314
# System BASH specials, maybe also good for other shells
314
# System BASH specials, maybe also good for other shells
315
#
315
#
316
test -r /etc/bash.bashrc   && . /etc/bash.bashrc
316
test "$is" != ksh -a -r /etc/bash.bashrc && . /etc/bash.bashrc
317
if test "$is" = "bash" -a -z "$_HOMEBASHRC" ; then
317
if test "$is" = "bash" -a -z "$_HOMEBASHRC" ; then
318
    # loop detection
318
    # loop detection
319
    readonly _HOMEBASHRC=true
319
    readonly _HOMEBASHRC=true
Lines 321-339 Link Here
321
fi
321
fi
322
322
323
#
323
#
324
# KSH specials
325
#
326
if test "$is" = "ksh" -a -r /etc/ksh.kshrc ; then
327
    if test ! /etc/bash.bashrc -ef /etc/ksh.kshrc ; then
328
	. /etc/ksh.kshrc
329
    fi
330
fi
331
if test "$is" = "ksh"  -a -z "$_HOMEKSHRC"  ; then
332
    # loop detection
333
    readonly _HOMEKSHRC=true
334
    test -r $HOME/.kshrc   && . $HOME/.kshrc
335
fi
336
337
#
338
# End of /etc/profile
324
# End of /etc/profile
339
#
325
#

Return to bug 155970