Ticket #878 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

Remove spurious shell check in bashrc

Reported by: jdreed Owned by:
Priority: normal Milestone: Fall 2011
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

/usr/lib/init/bashrc says:

# If we see ENV_SET set to empty, we could be a tcsh user who has
# decided to run bash, or we could be a bash user suffering from the
# misfeature that the standard xsession script runs the tcsh dotfiles
# for all users.  Running the environment setup for the former
# category of user would be unfriendly (it resets the homedir and
# changes the path), so for now, only run environment setup for bash
# users.  If the xsession problem is ever fixed, change this
# conditional to check for '"${ENV_SET+set}" != set' and eliminate the
# shell check.
if [ "${ENV_SET:+set}" != set -a "${SHELL##*/}" = bash ]; then

It is now the case on Debathena that "the standard xsession script runs the tcsh dotfiles" is no longer true, right? So we can eliminate the shell check?

Change History

comment:1 Changed 10 years ago by jdreed

  • Status changed from new to committed

comment:2 Changed 10 years ago by jdreed

Committed in 10.0.28-0debathena2 (as yet unreleased)

comment:3 Changed 10 years ago by jdreed

  • Status changed from committed to development

This ended up being 10.0.29-0debathena1, now in dev

comment:4 Changed 10 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.