summaryrefslogtreecommitdiff
path: root/mk/bulk/mksandbox
diff options
context:
space:
mode:
authorgrant <grant>2004-06-06 01:33:17 +0000
committergrant <grant>2004-06-06 01:33:17 +0000
commit94169c8e9da12c3c1635c2c34f22789bec21458e (patch)
tree4395655a6f0b66f9d01422993ecc44e4498baec5 /mk/bulk/mksandbox
parent27e1ee537e61e76870045f3808553135347ef326 (diff)
downloadpkgsrc-94169c8e9da12c3c1635c2c34f22789bec21458e.tar.gz
on Solaris, ensure /usr/tmp and /var/tmp are created in the sandbox,
as nroff(1) and others complain if these directories don't exist.
Diffstat (limited to 'mk/bulk/mksandbox')
-rwxr-xr-xmk/bulk/mksandbox3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/bulk/mksandbox b/mk/bulk/mksandbox
index 7502dbbcfe2..8d57d6ef1f3 100755
--- a/mk/bulk/mksandbox
+++ b/mk/bulk/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.32 2004/06/06 01:30:31 grant Exp $
+# $NetBSD: mksandbox,v 1.33 2004/06/06 01:33:17 grant Exp $
#
#
# Copyright (c) 2002 Alistair G. Crooks. All rights reserved.
@@ -114,6 +114,7 @@ SunOS)
paxprog=/bin/pax
sedprog=/usr/xpg4/bin/sed
sandboxMountDirs="/bin /sbin /kernel /lib /proc /opt/SUNWspro /usr/X11R6 /usr/5bin /usr/bin /usr/ccs /usr/dt /usr/games /usr/include /usr/lib /usr/openwin /usr/share /usr/sbin /usr/ucb /usr/ucblib /usr/xpg4 /var/mail"
+ sandboxEmptyDirs="$sandboxEmptyDirs /usr/tmp /var/tmp"
;;
*)
echo "Unknown Operating System ($opsys) - good luck"