63d76b7f93
on which(1). Correctly pass all arguments (even the first one) to the build script. This fixes PR 30362.
14 lines
292 B
Bash
14 lines
292 B
Bash
#!/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 "$@"
|