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 treeUsage: /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
