Skip to content

Commit

Permalink
The last revision to this file added a check for removing packages.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
reedjc committed Mar 31, 2005
1 parent 1c2e0fc commit 9fbd7c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mk/bulk/pre-build
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 9fbd7c3

Please sign in to comment.