summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-08-06 10:41:51 +0000
committersketch <sketch@pkgsrc.org>2004-08-06 10:41:51 +0000
commit3d2b2db9c6d60a362fcd3b42b5394cd4f562c166 (patch)
tree8736948ecf6920017316cb8d45697585dcb19411 /mk
parent93b7d8ca37b05df0683f2fc47d6df305aca2b5a7 (diff)
downloadpkgsrc-3d2b2db9c6d60a362fcd3b42b5394cd4f562c166.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