[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (g)mc-4.5.38-2 still broken

Wait a second.

So this mc script is an attempt to leave you in the directory you were
in when you left mc ?

Well that won't work will it?

Try running this:

  cd /tmp; ( cd /etc; pwd );  pwd

and you'll get


the ``cd /etc'' only applies in the shell executed in the brackets.
The same goes for the mc script. Any effect of the cd in the script is
lost when the script exits.

Cheers, Phil.

Reply to: