From owner-freebsd-questions Thu Aug 23 0:33:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id 2462437B407; Thu, 23 Aug 2001 00:33:24 -0700 (PDT) (envelope-from knu@iDaemons.org) Received: from daemon.musha.org (daemon.local.idaemons.org [192.168.1.1]) by mail.musha.org (Postfix) with ESMTP id 35C544D836; Thu, 23 Aug 2001 16:33:22 +0900 (JST) Date: Thu, 23 Aug 2001 16:33:22 +0900 Message-ID: <86k7zvi62l.wl@daemon.musha.org> From: "Akinori MUSHA" To: Kris Kennaway Cc: "David M. Heller" , "questions@FreeBSD.ORG" , knu@freebsd.org Subject: Re: Portupgrade Problem In-Reply-To: <20010822231050.B38611@xor.obsecurity.org> References: <3B8485C3.453EB59F@rochester.rr.com> <20010822231050.B38611@xor.obsecurity.org> User-Agent: Wanderlust/2.7.2 (Too Funky) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Wed, 22 Aug 2001 23:10:50 -0700, Kris Kennaway wrote: > On Thu, Aug 23, 2001 at 12:25:39AM -0400, David M. Heller wrote: > > I'm having a problem with portupgrade when I issue a command like > > portupgrade -R xcircuit(or whatever) I get the folowing error message: > > > > /usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:19: uninitialized constant > > PORTSDIR at PortsDB (NameError) Oh, it's a typo... The attached patch should fix it. -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Freeze this moment a little bit longer, make each impression a little bit stronger.. Experience slips away -- Time stand still" Index: portsdb.rb =================================================================== RCS file: /home/cvs/pkgtools/portsdb.rb,v retrieving revision 1.29 diff -u -r1.29 portsdb.rb --- portsdb.rb 2001/08/22 21:24:19 1.29 +++ portsdb.rb 2001/08/23 07:31:59 @@ -12,7 +12,7 @@ DB_VERSION = [:FreeBSD, 1] PORTS_DIR = ENV['PORTSDIR'] || '/usr/ports' - PORTS_DBDIR = ENV['PORTS_DBDIR'] || PORTSDIR + PORTS_DBDIR = ENV['PORTS_DBDIR'] || PORTS_DIR PORTS_DBDIR_LIST = [ ENV['PORTS_DBDIR'], PORTS_DIR, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message