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:
Erwin Lansing
2009-07-14 07:58:50 +00:00
parent f5bc71a9bf
commit 3accf1e172
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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