16 lines
576 B
Plaintext
16 lines
576 B
Plaintext
$NetBSD: patch-am,v 1.7 2016/06/05 01:02:38 ryoon Exp $
|
|
|
|
Don't hardcode TMPDIR.
|
|
|
|
--- src/AudacityApp.cpp.orig 2016-01-13 14:31:23.000000000 +0000
|
|
+++ src/AudacityApp.cpp
|
|
@@ -1182,7 +1182,7 @@ bool AudacityApp::OnInit()
|
|
wxString home = wxGetHomeDir();
|
|
|
|
/* 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(""))
|