summaryrefslogtreecommitdiff
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
commit9fbd7c3f0cab7cc4f32117fa7ad9b32aa9b03ed2 (patch)
tree2a86881bd57142385ee4853998e984e7a5f6474c
parent1c2e0fcebb780e2ba448a08297ae0957dce08c8e (diff)
downloadpkgsrc-9fbd7c3f0cab7cc4f32117fa7ad9b32aa9b03ed2.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.
-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.