summaryrefslogtreecommitdiff
path: root/mk/bulk/do-sandbox-upload
blob: e2b0df344f3357578cb7b91d0b5cb4a01983aed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#	$NetBSD: do-sandbox-upload,v 1.5 2005/07/13 22:07:46 rillig Exp $

#
# Script to start a sandbox build
#
# See pkgsrc/doc/pkgsrc.txt for documentation!
#

sh="/bin/sh"
upload="mk/bulk/upload"

chroot /usr/sandbox \
	$sh -c "cd /usr/pkgsrc && exec $sh $upload \"\$@\"" $upload "$@"