summaryrefslogtreecommitdiffstats
path: root/run.in
diff options
context:
space:
mode:
Diffstat (limited to 'run.in')
-rwxr-xr-xrun.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/run.in b/run.in
index cdcfa291..294beb2a 100755
--- a/run.in
+++ b/run.in
@@ -48,10 +48,9 @@ b=@abs_builddir@
#
# We set it to a subdirectory ('tmp') so that we can label this
# subdirectory to make libvirt + sVirt + SELinux enforcing work.
-#
-# chcon --reference=/tmp tmp
export TMPDIR="$b/tmp"
mkdir -p "$b/tmp"
+chcon --reference=/tmp tmp 2>/dev/null ||:
# Set local environment relative to this script.
export LIBGUESTFS_PATH="$b/appliance"