[geeks] interesting cvs/shell problem
Phil Stracchino
phil.stracchino at speakeasy.net
Wed Nov 16 11:00:20 CST 2005
Charles Shannon Hendrix wrote:
> I use CVS over ssh to store sources on my NetBSD server.
>
> My shell startup files have these lines in them:
>
> CVS_RSH=ssh
> CVSROOT=<path to remote CVS>
>
> This is for bash version 3.x on a Linux box where I do most of my
> editing.
>
> cvs can see the CVSROOT variable when it runs, but not CVS_RSH.
>
> Both work fine if my startup script explicitely exports those variables.
>
> That leads to an obvious question though: why would export be needed for
> one environment variable and not the other?
>
> Am I missing something really obvious, or is there something funky going
> on here?
I would assume that somewhere, something else is also exporting CVSROOT.
To test this, comment out both lines and see if CVSROOT is still defined.
--
Phil Stracchino phil.stracchino at speakeasy.net
Renaissance Man, Unix generalist, Perl hacker
Mobile: 603-216-7037 Landline: 603-886-3518
More information about the geeks
mailing list