summaryrefslogtreecommitdiffstats
path: root/firefox.sh.in
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-18 09:38:27 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-18 09:38:27 +0100
commit1b89bd5eb125413559a0254d4482d820ff6574dc (patch)
treec93676c5d766a4dd1c23098a423c88e986a3a9d0 /firefox.sh.in
parenta43f0284a3dcad38baa9777ea05692323fa8e01c (diff)
Xulrunner / Firefox 17.0 Beta 6
Diffstat (limited to 'firefox.sh.in')
-rw-r--r--firefox.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/firefox.sh.in b/firefox.sh.in
index 2d8890c..863f334 100644
--- a/firefox.sh.in
+++ b/firefox.sh.in
@@ -135,9 +135,11 @@ GNOME_DISABLE_CRASH_DIALOG=1
export GNOME_DISABLE_CRASH_DIALOG
##
-## Use /var/tmp instead of /tmp because of 1GB /tmp limit in Fedora 18 and later
+## Use $MOZ_TMPDIR if set. Otherwise use /var/tmp instead of /tmp
+## because of 1GB /tmp limit in Fedora 18 and later.
+## See: https://bugzilla.redhat.com/show_bug.cgi?id=867073
##
-TMPDIR="/var/tmp"
+TMPDIR="${MOZ_TMPDIR:-/var/tmp}"
export TMPDIR
# OK, here's where all the real work gets done