diff options
author | erwin <erwin@FreeBSD.org> | 2009-06-06 00:22:45 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2009-06-06 00:22:45 +0800 |
commit | 28a07a9c0aa84707238948244f6b2d688af61992 (patch) | |
tree | 93f6c1e38655ec85d07688522e43e7540c363f98 /Tools | |
parent | c4d0712bae56266e2e4f33f63a020d3c0994926f (diff) | |
download | freebsd-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-link | 5 |
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 |