Skip to content
Permalink
Browse files

Allow /private/var/tmp, too.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@18727 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Jul 25, 2006
1 parent 146b3a5 commit a6a7540c2aa38c1745857dc230a31a2bf1119c24
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/port1.0/porttrace.tcl
@@ -1,7 +1,7 @@
# et:ts=4
# porttrace.tcl
#
# $Id: porttrace.tcl,v 1.19 2006/07/25 06:24:42 pguyot Exp $
# $Id: porttrace.tcl,v 1.20 2006/07/25 08:50:48 pguyot Exp $
#
# Copyright (c) 2005-2006 Paul Guyot <pguyot@kallisys.net>,
# All rights reserved.
@@ -61,10 +61,11 @@ proc trace_start {workpath} {
# /tmp
# /private/tmp
# /var/tmp
# /private/var/tmp
# $TMPDIR
# /dev/null
# /dev/tty
set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/dev/null:/dev/tty:${workpath}"
set trace_sandboxbounds "/tmp:/private/tmp:/var/tmp:/private/var/tmp:/dev/null:/dev/tty:${workpath}"
if {[info exists env(TMPDIR)]} {
set trace_sandboxbounds "${trace_sandboxbounds}:$env(TMPDIR)"
}

0 comments on commit a6a7540

Please sign in to comment.
You can’t perform that action at this time.