cannot git clone into /usr/ports when separate filesystem

Hans Petter Selasky hps at selasky.org
Tue Apr 6 11:15:35 UTC 2021


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



More information about the freebsd-ports mailing list