16 lines
634 B
Plaintext
16 lines
634 B
Plaintext
$NetBSD: patch-am,v 1.6 2015/04/20 13:38:23 rodent Exp $
|
|
|
|
Don't hardcode TMPDIR.
|
|
|
|
--- src/AudacityApp.cpp.orig 2015-03-02 01:06:58.000000000 +0000
|
|
+++ src/AudacityApp.cpp
|
|
@@ -1096,7 +1096,7 @@ bool AudacityApp::OnInit()
|
|
* The "share" and "share/doc" directories in their install path */
|
|
#ifdef __WXGTK__
|
|
/* On Unix systems, the default temp dir is in /var/tmp. */
|
|
- defaultTempDir.Printf(wxT("/var/tmp/audacity-%s"), wxGetUserId().c_str());
|
|
+ defaultTempDir.Printf(wxT("%s/.audacity1.2-%s"), home.c_str(), wxGetUserId().c_str());
|
|
|
|
wxString pathVar = wxGetenv(wxT("AUDACITY_PATH"));
|
|
if (pathVar != wxT(""))
|