RE: /etc/profile always does a cd $HOME

2005-05-24 Thread Dave Korn
Original Message From: Sven Köhler Sent: 24 May 2005 04:16 The file in /etc/defaults/etc/profile has this CHERE_INVOKING thing, but for some reason, that file wasn't copied to /etc/profile. Can you imagine why? The base files postinstall script refuses to update your

Re: /etc/profile always does a cd $HOME

2005-05-24 Thread Dave
Yitzchak Scott-Thoennes wrote: On Mon, May 23, 2005 at 12:55:12PM -0700, Dave wrote: i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! The point

Re: /etc/profile always does a cd $HOME

2005-05-23 Thread René Berber
Sven Köhler wrote: i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! So here's what i'd like to do. Perhaps you could help me with that: I'm

Re: /etc/profile always does a cd $HOME

2005-05-23 Thread Gerrit P. Haase
Sven Köhler wrote: i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! So here's what i'd like to do. Perhaps you could help me with that: I'm

Re: /etc/profile always does a cd $HOME

2005-05-23 Thread Sven Köhler
i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! So here's what i'd like to do. Perhaps you could help me with that: I'm trying to execute

Re: /etc/profile always does a cd $HOME

2005-05-23 Thread Dave
i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! The point was a flly functional environment, and just adding /bin to the PATH is only half the

Re: /etc/profile always does a cd $HOME

2005-05-23 Thread Yitzchak Scott-Thoennes
On Mon, May 23, 2005 at 12:55:12PM -0700, Dave wrote: i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! The point was a flly functional

Re: /etc/profile always does a cd $HOME

2005-05-23 Thread Sven Köhler
i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! The point was a flly functional environment, and just adding /bin to the PATH is only half the

/etc/profile always does a cd $HOME

2005-05-22 Thread Sven Köhler
Hi, i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! IMHO, executing bash -li shouldn't change the workdir. No other system i know does that.

Re: /etc/profile always does a cd $HOME

2005-05-22 Thread René Berber
Sven Köhler wrote: i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! That's not a problem, it's a feature. IMHO, executing bash -li shouldn't

Re: /etc/profile always does a cd $HOME

2005-05-22 Thread Igor Pechtchanski
On Sun, 22 May 2005, Sven Köhler wrote: Hi, i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! IMHO, executing bash -li shouldn't change the

Re: /etc/profile always does a cd $HOME

2005-05-22 Thread Sven Köhler
i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! That's not a problem, it's a feature. IMHO, executing bash -li shouldn't change the workdir.

Re: /etc/profile always does a cd $HOME

2005-05-22 Thread Sven Köhler
i'd like to use cygwin from a normal windows-app. The problem is, that i need a login-shell, so that all environment-vars are properly set. The problem: bash -li always changes the current workdir! So here's what i'd like to do. Perhaps you could help me with that: I'm trying to execute make