summaryrefslogtreecommitdiff
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
commit868a80d86411dfa76d9315472ee5c2bafeaf5084 (patch)
tree8736948ecf6920017316cb8d45697585dcb19411
parentecbc478420ae99922c1caa56ba4cd25e125c3341 (diff)
downloadpkgsrc-868a80d86411dfa76d9315472ee5c2bafeaf5084.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.
-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