diff options
author | jdc <jdc@pkgsrc.org> | 2006-01-17 22:35:13 +0000 |
---|---|---|
committer | jdc <jdc@pkgsrc.org> | 2006-01-17 22:35:13 +0000 |
commit | b040170880f4e977664519bcc83790f976200520 (patch) | |
tree | 8bef4f96b1cfec18d68de3dea6d214a41cb50999 /mk/bulk | |
parent | 6ae1fd59e985bef2d0d75f529181b6f53f3fc3c2 (diff) | |
download | pkgsrc-b040170880f4e977664519bcc83790f976200520.tar.gz |
`tsort` creates temporary files in the current directory, so change to the
BULKFILESDIR directory before running it. We can now bulk build with a
read-only pkgsrc.
Diffstat (limited to 'mk/bulk')
-rw-r--r-- | mk/bulk/bsd.bulk-pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index 3a8541263f5..277ebe48d4d 100644 --- a/mk/bulk/bsd.bulk-pkg.mk +++ b/mk/bulk/bsd.bulk-pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.bulk-pkg.mk,v 1.110 2006/01/05 23:18:27 joerg Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.111 2006/01/17 22:35:13 jdc Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -250,7 +250,7 @@ bulk-cache: ${AWK} '/^index/ {print $$2 " " $$3 " "}' ${BULK_DBFILE} > ${INDEXFILE} .endif @${BULK_MSG} "Sorting build order." - ${TSORT} ${DEPENDSTREEFILE} > ${ORDERFILE} + cd ${BULKFILESDIR} && ${TSORT} ${DEPENDSTREEFILE} > ${ORDERFILE} @${BULK_MSG} "Generating up and down dependency files." ${LOCALBASE}/bin/perl ${PKGSRCDIR}/mk/bulk/tflat ${SUPPORTSFILE} ${DEPENDSFILE} < ${DEPENDSTREEFILE} |