diff options
author | Jan Horak <jhorak@redhat.com> | 2012-11-08 13:48:26 +0100 |
---|---|---|
committer | Jan Horak <jhorak@redhat.com> | 2012-11-08 13:48:26 +0100 |
commit | 26a78c49076ac6ce355ad8e2e98b5e9bbf79906c (patch) | |
tree | f44b6685058a036361bba0bd8a4f1c4f5f0bb09f | |
parent | fixed duckduckgo patch (diff) | |
download | librewolf-fedora-ff-26a78c49076ac6ce355ad8e2e98b5e9bbf79906c.tar.gz librewolf-fedora-ff-26a78c49076ac6ce355ad8e2e98b5e9bbf79906c.tar.bz2 librewolf-fedora-ff-26a78c49076ac6ce355ad8e2e98b5e9bbf79906c.zip |
resolves: #867073 add support for MOZ_TMPDIR to override tmp file location
-rw-r--r-- | firefox.sh.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index 2c7d5c0..06aadbe 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -144,9 +144,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 |