blob: 49f193777c4156c45131e0ea1073ec82e34a7e5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
# $NetBSD: do-sandbox-build,v 1.11 2005/06/27 16:04:08 rillig Exp $
#
# Script to start a sandbox build
#
# See pkgsrc/doc/pkgsrc.txt for documentation!
#
sh="/bin/sh"
build="mk/bulk/build"
chroot /usr/sandbox \
$sh -c "cd /usr/pkgsrc && exec $sh $build \"\$@\"" -- $build "$@"
|