Explicitly override LOCALBASE to make sure we don't get
confused by locally installed ports that might influence PKGNAME or other variables. Suggested by: pav
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
export __MAKE_CONF=/dev/null
|
||||
export PORT_DBDIR=/nonexistent
|
||||
export PKG_DBDIR=/nonexistent
|
||||
export LOCALBASE=/nonexistent
|
||||
|
||||
if [ -z "${PORTSDIR}" ]; then
|
||||
PORTSDIR=/usr/ports
|
||||
|
||||
@@ -157,6 +157,7 @@ do_run() {
|
||||
export __MAKE_CONF=/dev/null
|
||||
export PORT_DBDIR=/nonexistent
|
||||
export PKG_DBDIR=/nonexistent
|
||||
export LOCALBASE=/nonexistent
|
||||
export INDEX_PRISTINE=1
|
||||
export INDEX_JOBS=4
|
||||
export INDEX_QUIET=1
|
||||
|
||||
Reference in New Issue
Block a user