aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2009-07-14 15:58:50 +0800
committererwin <erwin@FreeBSD.org>2009-07-14 15:58:50 +0800
commitdb0491f4d04506ab8287d545c75cda5c175ddb32 (patch)
treec57045833cfba74bb6a516d167c684e62c9dce44 /Tools
parent53cf0e799cfe565868c1c830aa92d9ff2e3c62dd (diff)
downloadfreebsd-ports-gnome-db0491f4d04506ab8287d545c75cda5c175ddb32.tar.gz
freebsd-ports-gnome-db0491f4d04506ab8287d545c75cda5c175ddb32.tar.zst
freebsd-ports-gnome-db0491f4d04506ab8287d545c75cda5c175ddb32.zip
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
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/check-latest-link1
-rwxr-xr-xTools/scripts/tindex1
2 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/check-latest-link b/Tools/scripts/check-latest-link
index 61f047917955..ef3ba8d81dac 100644
--- a/Tools/scripts/check-latest-link
+++ b/Tools/scripts/check-latest-link
@@ -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
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index d31375b402ee..585bf49e5be1 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -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