Re: Newbie rpmbuild question: change directory error

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

 



Egmont Koblinger wrote:
> On Mon, Mar 20, 2006 at 01:53:51AM -0500, Raman Gupta wrote:
> 
>> + mkdir msttcorefonts
>> + cd msttcorefonts
>> /home/raman/rpmbuild/tmp/rpm-tmp.28761: line 24: cd: msttcorefonts: No
>> such file or directory
> 
> Hi,
> 
> I just happened to hit the same bug outside rpm, a piece of software that
> used to compile doesn't compile now due to this error.
> 
> Then I realized that I have set $CDPATH. If I unset it, it works.
> 
> Do you have CDPATH set to some value? Does unsetting it solve your problem,
> too?

Yes, or adding the current directory to it.

> What's your version of bash? I guess it is a bash bug...

Are you sure you are seeing this behavior with bash?  Bash for me
(version 3.00.16(1)) works fine even when CDPATH does not contain the
current directory. I only see this behavior with the bourne shell. I
don't know if its a bug or the intended behavior.

Cheers,
Raman

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux