Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 16:33:22 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        "David M. Heller" <dheller1@rochester.rr.com>, "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>, knu@freebsd.org
Subject:   Re: Portupgrade Problem
Message-ID:  <86k7zvi62l.wl@daemon.musha.org>
In-Reply-To: <20010822231050.B38611@xor.obsecurity.org>
References:  <3B8485C3.453EB59F@rochester.rr.com> <20010822231050.B38611@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k7zvi62l.wl>