LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2007, 04:25 PM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
-sh: CVS_RSH=ssh: is not an identifier


I'm trying to set up a cvs server/client on a Solaris server - on the same box now, for simplicity's sake. I can worry about remote users once this works.

The default shell is /bin/sh, and I've got

# Adding this for CVS
export PATH=$PATH:/path/to/cvs/binary

in /etc/profile already.

In my local .profile, I have

# CVS stuff
export CVS_RSH=ssh
export CVSROOT=:ext:me@hostname:/cvs/cvsrep

When I log in to the box over ssh, I see the error message
-sh: CVS_RSH=ssh: is not an identifier

Anyone have any ideas? I'm not very familiar with the differences between sh and bash, which is my usual default shell... (changing my shell to /bin/bash then gives me a permissions error on /etc/profile when I log in, so I don't think that's really an option). Thanks!
 
Old 04-11-2007, 05:22 AM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by rose_bud4201
export CVS_RSH=ssh
export CVSROOT=:ext:me@hostname:/cvs/cvsrep

When I log in to the box over ssh, I see the error message
-sh: CVS_RSH=ssh: is not an identifier
In some cases--I don't know why--it seems you have to break the export line in two like this:
Code:
CVS_RSH=ssh
export CVS_RSH
Also, you could debug by putting set -x before the export statement to get it to print out more information and put set +x just after it to turn debug off.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian: video card's bus identifier? esc_5p1d0r Linux - Newbie 2 06-23-2006 07:00 AM
ATI 9200SE Bus Identifier?? Curtux Debian 1 09-12-2005 11:01 PM
Processor Chip Identifier? WindyT General 9 07-27-2005 05:39 PM
Video Card's bus identifier? zeroz52 Debian 2 02-26-2005 03:01 PM
ERROR: not an identifier GEEXTER Linux - Newbie 0 12-16-2002 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration