diff options
author | agc <agc> | 2002-12-03 18:49:39 +0000 |
---|---|---|
committer | agc <agc> | 2002-12-03 18:49:39 +0000 |
commit | 2fffba866b562c82a9157235230e0b513cd3d0ef (patch) | |
tree | fe6f9b4ec4f813f7f4be5ae537088518d5c91d10 /mk/bulk/mksandbox | |
parent | 9c343be4040a700c40d04731047751d07b1e101f (diff) | |
download | pkgsrc-2fffba866b562c82a9157235230e0b513cd3d0ef.tar.gz |
Apply patches from Sergey Svishchev in PR 19221 to get the correct value
for localpatches and to make that directory available in the sandbox.
Diffstat (limited to 'mk/bulk/mksandbox')
-rwxr-xr-x | mk/bulk/mksandbox | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox index 3473fbb3f9f..ce6a401c859 100755 --- a/mk/bulk/mksandbox +++ b/mk/bulk/mksandbox @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: mksandbox,v 1.11 2002/11/20 16:23:09 agc Exp $ +# $NetBSD: mksandbox,v 1.12 2002/12/03 18:49:39 agc Exp $ # # # Copyright (c) 2002 Alistair G. Crooks. All rights reserved. @@ -129,6 +129,7 @@ packages=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=PACKAGES)` distfiles=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=DISTDIR)` localbase=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=LOCALBASE)` pkg_dbdir=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=PKG_DBDIR)` +localpatches=`(cd $pkgsrc/pkgtools/pkglint; $bmakeprog show-var VARNAME=LOCALPATCHES)` $mkdirprog $sandbox cat > $sandbox_script <<EOS @@ -216,6 +217,7 @@ $mountprog -t null $packages $sandbox/$packages $mountprog -t null $distfiles $sandbox/$distfiles echo "$packages $packages rw \\" >> $sandbox_script echo "$distfiles $distfiles rw \\" >> $sandbox_script +test -n "$localpatches" && echo "$localpatches $localpatches rw \\" >> $sandbox_script cat >> $sandbox_script <<EOS " |