From owner-freebsd-current Thu Mar 23 14:36:33 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA24129 for current-outgoing; Thu, 23 Mar 1995 14:36:33 -0800 Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.97.216]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA24123 for ; Thu, 23 Mar 1995 14:36:30 -0800 Received: (from kargl@localhost) by troutmask.apl.washington.edu (8.6.11/8.6.9) id OAA12630 for freebsd-current@freefall.cdrom.com; Thu, 23 Mar 1995 14:28:57 -0800 From: Steven G Kargl Message-Id: <199503232228.OAA12630@troutmask.apl.washington.edu> Subject: /usr/bin/cvsinit bug To: freebsd-current@freefall.cdrom.com (FreeBSD Current) Date: Thu, 23 Mar 1995 14:28:56 -0800 (PST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1932 Sender: current-owner@FreeBSD.org Precedence: bulk I decided to learn cvs so I downloaded cvs-texi-0.8.tar.gz and read parts of the manual. To start this adventure, I decided to place one of my small projects under cvs. %setenv CVSROOT /home/kargl/cvsroot %mkdir /home/kargl/cvsroot %mkdir /home/kargl/cvsroot/CVSROOT %cvsinit cvsinit is a script that helps set up the administrative side of cvs, but it appears to go belly-up on the initialization of log.pl and loginfo. >From cvsinit: # loginfo, like modules, is special-cased if [ -f $CVSROOT/CVSROOT/loginfo,v ]; then [...delete...] else if [ -f $CVSROOT/CVSROOT/loginfo ]; then echo "You have a $CVSROOT/CVSROOT/loginfo file," echo "But no $CVSROOT/CVSROOT/loginfo,v file." echo "I'll create one for you, but otherwise leave it alone..." else echo "The $CVSROOT/CVSROOT/loginfo file does not exist." echo "Making a simple one for you..." # try to find perl; use fancy log script if we can for perlpath in `echo $PATH | sed -e 's/:/ /g'` x; do if [ -f $perlpath/perl ]; then echo "#!$perlpath/perl" > $CVSROOT/CVSROOT/log.pl cat contrib/log.pl >> $CVSROOT/CVSROOT/log.pl chmod 755 $CVSROOT/CVSROOT/log.pl cp examples/loginfo $CVSROOT/CVSROOT/loginfo break fi done if [ $perlpath = x ]; then # we did not find perl anywhere, so make a simple loginfo file [... delete ...] fi fi (cd $CVSROOT/CVSROOT; ci -q -u -t/dev/null -m'initial checkin of loginfo' loginfo) echo "" fi We have perl, so the above executes. But, contrib/log.pl and examples/loginfo only exist in /usr/src/gnu/usr.bin/cvs. This might be fixed by installing cvs/contrib and cvs/examples into /usr/share and fixing the script to look there. -- Steven G. Kargl | Phone: 206-685-4677 | Applied Physics Laboratory | Fax: 206-543-6785 | University of Washington |---------------------| 1013 NE 40th St | FreeBSD 2.1-current | Seattle, WA 98105 |---------------------|