Mailinglist Archive: opensuse-packaging (67 mails)
| < Previous | Next > |
Re: [opensuse-packaging] "cd" commands for generating Makefiles render them invalid [solved]
- From: Michal Marek <mmarek@xxxxxxx>
- Date: Mon, 17 Dec 2007 10:38:13 +0100
- Message-id: <47664385.50004@xxxxxxx>
Hans-Peter Jansen wrote:
It's already there:
cd [-L|-P] [dir]
...
If a non-
empty directory name from CDPATH is used, or if - is the first
argument, and the directory change is successful, the absolute
pathname of the new working directory is written to the standard
output.
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
~> env | grep CD
CDPATH=.:~:/usr:/mnt
That was the culprit. Unsetting it did the trick. Will take the minor loss
in convenience by jettisoning it.
Such a strong side effect should be documented in bash man file
It's already there:
cd [-L|-P] [dir]
...
If a non-
empty directory name from CDPATH is used, or if - is the first
argument, and the directory change is successful, the absolute
pathname of the new working directory is written to the standard
output.
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |