Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 22:48:10 +0800
From:      "Yuan, Jue" <yuanjue02@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        "illoai@gmail.com" <illoai@gmail.com>
Subject:   Re: portsnap cannot change its default WORKDIR ?
Message-ID:  <200605032248.11121.yuanjue@yuanjue.net>
In-Reply-To: <d7195cff0603062317i2436ca66m84d1ab11d8392071@mail.gmail.com>
References:  <200603070934.02881.yuanjue02@gmail.com> <d7195cff0603062317i2436ca66m84d1ab11d8392071@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 07 March 2006 15:17, illoai@gmail.com wrote:
> -On 3/6/06, Yuan Jue <yuanjue02@gmail.com> wrote:
> > Hi, all
> >
> > I am now using portsnap in FreeBSD 6.0 to upgrade ports tree. It is
> > really much faster than CVSUp. But there is one question that bother me:
> > I cannot change the WORKDIR that portsnap use.
> >
> > I have change WORKDIR in /etc/portsnap.conf to /usr/local/portsnap, but
> > when using 'portsnap fetch', the download files still store
> > in /var/db/portsnap.
> >
> > Any suggestions about this? Thanks in advance!
> >
> > My /etc/portsnap.conf is as follows:
> >
> > # $FreeBSD: src/etc/portsnap.conf,v 1.1.2.1 2005/08/15 20:24:07 cperciva
> > Exp $
> >
> > # Default directory where compressed snapshots are stored.
> >  WORKDIR=/usr/local/portsnap
>
> Well, it's doesn't seem broken here and mine is exactly like yours.
> Are you using portsnap from the base distro or from the ports tree?
> I was under the impression that portsnap from ports used
> /usr/local/etc/portsnap.conf so you may try copying your
> /etc/portsnap.conf there and see if that fixes something or any-
> thing.
>

OK. I found the trick finally ;)

There is a needless space before 'WORKDIR', which makes portsnap
cannot read this line correctly. Now it works fine for me :-)

-- 
Best Regards
Yuan, Jue @ www.yuanjue.net



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