summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsketch <sketch>2004-08-06 10:41:51 +0000
committersketch <sketch>2004-08-06 10:41:51 +0000
commitd9ef74324b377a81be9cd4f42b72db8a8d15c1b2 (patch)
tree8736948ecf6920017316cb8d45697585dcb19411 /mk
parentdc173734819cec360ad8f9842ae5683f8d608fa5 (diff)
downloadpkgsrc-d9ef74324b377a81be9cd4f42b72db8a8d15c1b2.tar.gz
Unset CDPATH variable in the user environment which prints the cwd to stdout
when changing directory, breaking the resulting tsort from the printindex script output.
Diffstat (limited to 'mk')
-rw-r--r--mk/bulk/build4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bulk/build b/mk/bulk/build
index 149f9900069..64994a6c240 100644
--- a/mk/bulk/build
+++ b/mk/bulk/build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: build,v 1.41 2004/07/22 14:26:42 agc Exp $
+# $NetBSD: build,v 1.42 2004/08/06 10:41:51 sketch Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -161,6 +161,8 @@ if [ "$ftp_proxy" != "" ]; then
fi
echo ""
+unset CDPATH # ensure cd does not print new cwd to stdout, which
+ # confuses the printindex script.
unset DISPLAY # allow sane failure for gimp, xlispstat
# Check that the pkg_tools are up to date