summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 6eae3aac..383e83cb 100755
--- a/build
+++ b/build
@@ -132,7 +132,7 @@ fail()
tmp_cleanup()
{
[ "$xbmk_parent" = "y" ] || return 0
- rm -Rf "$TMPDIR" || return 1
+ [ "$TMPDIR" = "/tmp" ] || rm -Rf "$TMPDIR" || return 1
rm -f lock || return 1
}