Date: Thu, 5 Jan 2023 02:31:52 -0800 From: Yuri <yuri@FreeBSD.org> To: ports@freebsd.org Cc: Nuno Teixeira <eduardo@freebsd.org> Subject: Re: PortsDB: a program that imports the ports tree into an SQLite database Message-ID: <488ef591-44b9-d15e-84c7-4c286d3ce254@tsoft.com> In-Reply-To: <CAFDf7UKk0hfyXEZYY965-qw%2B_5_bNpnAt%2Bdwe0Ejbp_sSqbEoQ@mail.gmail.com> References: <f84e138d-46f7-9353-112f-492b1460c3c3@tsoft.com> <CAFDf7UKk0hfyXEZYY965-qw%2B_5_bNpnAt%2Bdwe0Ejbp_sSqbEoQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Nino, On 1/5/23 01:50, Nuno Teixeira wrote: > > /etc/make.conf: > PORTSDIR=/work/freebsd/ports/main > > `portsdb-import`: > error: the PORTSDIR environment variable should point to a valid ports > tree > Usage: /usr/local/bin/portsdb-import <db.sqlite> <file.sql> [{sync|async}] > > Any clues? /etc/make/conf doesn't set environment variables. It sets make variables. You should run: $ PORTSDIR=/work/freebsd/ports/main portsdb-import Best, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?488ef591-44b9-d15e-84c7-4c286d3ce254>