summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/firefox-snap/tmpdir
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtaskcluster/docker/firefox-snap/tmpdir6
1 files changed, 6 insertions, 0 deletions
diff --git a/taskcluster/docker/firefox-snap/tmpdir b/taskcluster/docker/firefox-snap/tmpdir
new file mode 100755
index 0000000000..e7e60801fa
--- /dev/null
+++ b/taskcluster/docker/firefox-snap/tmpdir
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Set TMPDIR to be under the user's default Downloads dir
+export TMPDIR=$(xdg-user-dir DOWNLOAD)/firefox.tmp
+
+exec "$@"