Sponsored Content
Operating Systems AIX /usr/local/bin/cvs: Not found Post 302544221 by hifirockz on Wednesday 3rd of August 2011 08:37:10 AM
Old 08-03-2011
Hi All,
Here is my code
Code:
#! /bin/sh 
.
.
.
CVSEXE=/usr/local/bin/cvs
CVSREPDIR=/var/opt/soe/local/CVSREP
.
.
/bin/su - test_user -c "umask 002; $CVSEXE -d $CVSREPDIR init"

and the error is
Code:
sh: /usr/local/bin/cvs:  not found

But if i call the cvs in the terminal, it is working good
Code:
/opt/soe/local/bin/cvs -v

Concurrent Versions System (CVS) 1.11.17 (client/server)

Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS

What is the problem?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/bin/sh: /usr/bin/vi: No such file or directory when doing crontab

I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies

2. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

3. Solaris

Questions about /usr/local/bin & scripts.

Hi gentlemen. For what intended is the directory /usr/local/bin? In this directory are some script. I don't understand how these scripts being in this directory are started. Each time after registration of the user occurs start of these scripts. These scripts start applications. (7 Replies)
Discussion started by: wolfgang
7 Replies

4. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself. But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies

5. Solaris

What is the difference between xpg4/bin and usr/bin?

Hi Experts, I found that the same commands(sort, du, df, find, grep etc.) exists in both dir. What is the difference to use them? i.e: to use xpg4/bin/grep and usr/bin/grep My OS version is SunOS 5.10 Regards, Saps (7 Replies)
Discussion started by: saps19
7 Replies

6. Shell Programming and Scripting

/usr/local/bin/expr function not working

Legends, I am not able to set "expr" function in ksh script. Below is the sample code i used, and output is as "Syntax error" Please help me to come out of it. OUTPUT (9 Replies)
Discussion started by: sdosanjh
9 Replies

7. Solaris

How to link sed from /usr/bin/sed to /usr/local/bin/sed?

Hi Guys, OS:- Solaris 10 64Bit I have a small query. On one server a user is facing sed command issue. He gets error regarding sed for this location /users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found How ever the sed is actually present at this location on server:-... (13 Replies)
Discussion started by: manalisharmabe
13 Replies

8. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

9. Open Source

/usr/bin/sh xlc not found

Hi Everyone, We are trying to compile Kerberos library using xlc and we get an error that xlc is not found in the system. We tried using gcc as well but it also fails with the same error. We could not find the compiler in the software media we received from IBM. Any inputs on how... (2 Replies)
Discussion started by: madhav.kunapa
2 Replies
CVS-SWITCHROOT(1)					    BSD General Commands Manual 					 CVS-SWITCHROOT(1)

NAME
cvs-switchroot -- change repository or tag in a cvs working copy SYNOPSIS
cvs-switchroot [-T] newroot [file ...] cvs-switchroot [-T] - srcpath [file ...] DESCRIPTION
The cvs-switchroot utility manipulates a CVS working copy directly, modifying the information stored in the administrative subdirectory and saving space by hardlinking if possible. If the -T option is given, the sticky tag is operated on, otherwise, the repository path (CVSROOT). The information (Tag or Root) is set to the same as in srcpath if the first non-option argument newroot is a sole dash ('-'), the literal value newroot otherwise. EXAMPLES
Change all Root information in the current sandbox to /cvs: $ cvs-switchroot /cvs . Set all roots in the current working directory and all its subdirectories to the Root of the parent directory: $ cvs-switchroot - .. . Hardlink the Tag information in the current working directory, for example /usr/src, and /usr/ports with each other: $ cvs-switchroot -T - . . /usr/ports SEE ALSO
cvs(1) HISTORY
cvs-switchroot has existed in the MirBSD source tree since 2005. It was added to Debian's cvs package in 2011. CAVEATS
cvs-switchroot depends on mksh. BSD
June 10, 2011 BSD
All times are GMT -4. The time now is 07:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy