summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authorreed <reed>2005-03-31 23:36:15 +0000
committerreed <reed>2005-03-31 23:36:15 +0000
commit3e37a0f2e0987f88f5ee34927445e64dc86a8794 (patch)
tree2a86881bd57142385ee4853998e984e7a5f6474c /mk/bulk
parent426a415ab6aa8ecc9fe022489ba7eaed477ce178 (diff)
downloadpkgsrc-3e37a0f2e0987f88f5ee34927445e64dc86a8794.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.