Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 13:14:18 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Marco Beishuizen <mbeis.bsd@xs4all.nl>, freebsd-ports@freebsd.org
Subject:   Re: cannot git clone into /usr/ports when separate filesystem
Message-ID:  <afd9f5d1-aa14-88ad-d7d1-809e7c226332@selasky.org>
In-Reply-To: <f8e4fee6-27ab-c754-3256-e41935949839@xs4all.nl>
References:  <f8e4fee6-27ab-c754-3256-e41935949839@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/6/21 1:09 PM, Marco Beishuizen wrote:
> Hi,
> 
> I'm trying to git clone the portstree into /usr/ports. /usr/ports is a 
> separate filesystem so it contains a .sujournal file. But now git 
> complains "fatal: destination path 'ports' already exists and is not an 
> empty directory."
> 
> So my question is what to do next? Recreating a new .sujournal every 
> time a ports tree needs to be cloned is quite annoying.

Not sure if it helps, but did you try to add a "/", like:

git clone xxxx /usr/ports/

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afd9f5d1-aa14-88ad-d7d1-809e7c226332>