[tor-bugs] #24514 [Applications/Tor Browser]: The dmg2mar script does not have an option to select the tmp dir
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Dec 19 19:53:58 UTC 2017
#24514: The dmg2mar script does not have an option to select the tmp dir
--------------------------------------------+------------------------------
Reporter: boklm | Owner: tbb-team
Type: defect | Status: needs_review
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: TorBrowserTeam201712R, tbb-rbm | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------------+------------------------------
Changes (by boklm):
* keywords: TorBrowserTeam201712, tbb-rbm => TorBrowserTeam201712R, tbb-
rbm
* status: new => needs_review
Comment:
It seems the `File::Temp->newdir()` function that we use in `dmg2mar` will
use the directory from the `TMPDIR` environment variable if it exists. So
defining `TMPDIR` to the `tmp_dir` value from the rbm config before
running the `dmg2mar` should fix the issue.
I added a patch doing that to branch `bug_24514`:
https://gitweb.torproject.org/user/boklm/tor-browser-
build.git/commit/?h=bug_24514&id=c4db919cd945f421f36ec1c358bce15ecc192590
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24514#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list