[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no such repository
From: |
Alejandro Gómez |
Subject: |
Re: no such repository |
Date: |
Mon, 7 Oct 2002 16:52:41 -0300 |
Yes, it´s a script!
#!/bin/sh
# $Debian$
# Execute pserver
unset HOME
if [ -f /etc/cvs-pserver.conf ]; then
. /etc/cvs-pserver.conf
elif [ -f /etc/cvs.conf ]; then
. /etc/cvs.conf
else
CVS_PSERV_REPOS=""
fi
allow_root_opts=""
OLDIFS="$IFS"
IFS=':'
for i in $CVS_PSERV_REPOS; do
IFS="$OLDIFS"
allow_root_opts="$allow_root_opts --allow-root=$i"
done
cvs_tmp_dir=""
[ "$CVS_TMP_DIR" != "" ] && cvs_tmp_dir="-T $CVS_TEMP_DIR"
exec /usr/bin/cvs -b /usr/bin ${cvs_tmp_dir} ${allow_root_opts} pserver
# End of file.
and /etc/cvs-pserver.conf is:
quigon:/etc# cat cvs-pserver.conf
CVS_PSERV_REPOS="/var/lib/cvs"
I don´t know much of bash scripting, but I think I should modify the script
with
allow_root_opts="/u01/cvs/lempert"
It´s right?
Alejandro Gómez
IT Analyst
Lempert y Asociados S.A.
Donaciano del Campillo 2068
Cerro de las Rosas
X 5009 JRZ
Córdoba - Argentina
(+54+351) 481-6001 Ext. 105/107
address@hidden
http://www.lempert.com.ar
----- Original Message -----
From: "Larry Jones" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Monday, October 07, 2002 4:41 PM
Subject: Re: no such repository
> =?iso-8859-1?Q?Alejandro_G=F3mez?= writes:
> >
> > server = /usr/sbin/cvs-pserver
>
> Is that the actual CVS executable or a script of some kind? My guess is
> that it's a script and it's not passing on the --allow-root= argument.
>
> -Larry Jones
>
> The real fun of living wisely is that you get to be smug about it. --
Hobbes
- Re: no such repository, (continued)
Re: no such repository, bollu, 2002/10/04
Re: no such repository, bollu, 2002/10/04
Re: no such repository,
Alejandro Gómez <=
Re: no such repository, Peter Parker, 2002/10/08