aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2009-06-06 00:22:45 +0800
committererwin <erwin@FreeBSD.org>2009-06-06 00:22:45 +0800
commit28a07a9c0aa84707238948244f6b2d688af61992 (patch)
tree93f6c1e38655ec85d07688522e43e7540c363f98 /Tools
parentc4d0712bae56266e2e4f33f63a020d3c0994926f (diff)
downloadfreebsd-ports-gnome-28a07a9c0aa84707238948244f6b2d688af61992.tar.gz
freebsd-ports-gnome-28a07a9c0aa84707238948244f6b2d688af61992.tar.zst
freebsd-ports-gnome-28a07a9c0aa84707238948244f6b2d688af61992.zip
Force cleaning of the environment from customized local settings.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/check-latest-link5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/scripts/check-latest-link b/Tools/scripts/check-latest-link
index 1283243bfd8d..61f047917955 100644
--- a/Tools/scripts/check-latest-link
+++ b/Tools/scripts/check-latest-link
@@ -3,6 +3,11 @@
# Iterate over the ports collection, assemble the list of LATEST_LINKs and
# then look for duplicates. Send a nag-mail to the responsible maintainers.
+# Sanitize environment
+export __MAKE_CONF=/dev/null
+export PORT_DBDIR=/nonexistent
+export PKG_DBDIR=/nonexistent
+
if [ -z "${PORTSDIR}" ]; then
PORTSDIR=/usr/ports
fi