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

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



* Philip Hands said:
> Wait a second.
> 
> So this mc script is an attempt to leave you in the directory you were
> in when you left mc ?
[snip]
>   /etc
>   /tmp
> 
> 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.
Correct. My typo - it should be:

cd $(cat thetmpfile)

marek

Attachment: pgpd7QrpxTK4o.pgp
Description: PGP signature


Reply to: