summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-03-31 23:36:15 +0000
committerreed <reed@pkgsrc.org>2005-03-31 23:36:15 +0000
commit010b7dff3de927730b27d0c70f98ce9d82329b5e (patch)
tree2a86881bd57142385ee4853998e984e7a5f6474c /mk/bulk
parent1cb42c3e389675a25563045eaec429f583b68c80 (diff)
downloadpkgsrc-010b7dff3de927730b27d0c70f98ce9d82329b5e.tar.gz
The last revision to this file added a check for removing packages.
If they existed, it cd to that package database directory. This broke the code later which assumed to be running from the pkgsrc directory. So cd to the USR_PKGSRC after this.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/pre-build4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bulk/pre-build b/mk/bulk/pre-build
index 0e2d5201e1e..9d63eb6c0ab 100644
--- a/mk/bulk/pre-build
+++ b/mk/bulk/pre-build
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: pre-build,v 1.46 2005/03/30 20:21:07 kristerw Exp $
+# $NetBSD: pre-build,v 1.47 2005/03/31 23:36:15 reed Exp $
#
# Clean up system to be ready for bulk pkg build
#
@@ -262,6 +262,8 @@ for dbdir in ${PKG_DBDIR} ${DEPOTBASE}; do
fi
done
+cd ${USR_PKGSRC}
+
# on non-NetBSD, we don't want these to build as they overwrite
# bootstrap-pkgsrc generated files and thus would break the following builds.