Blame patches/openjazz.local.patch
|
|
48bf88 |
From 4adf2fb178b1bb20a5c48158f08a9b19e30d463a Mon Sep 17 00:00:00 2001
|
|
|
48bf88 |
From: Fabian Greffrath <fabian@greffrath.com>
|
|
|
48bf88 |
Date: Thu, 28 Nov 2019 10:44:06 +0100
|
|
|
48bf88 |
Subject: [PATCH] look in ~/.openjazz for data files
|
|
|
48bf88 |
|
|
|
48bf88 |
This patch is now applied in both Arch Linux and Debian, so it probably
|
|
|
48bf88 |
makes sense to have it upstream.
|
|
|
48bf88 |
|
|
|
48bf88 |
Presumably no users will ever want to have their openjazz data stored
|
|
|
48bf88 |
directly in their $HOME directory.
|
|
|
48bf88 |
---
|
|
|
48bf88 |
src/main.cpp | 2 +-
|
|
|
48bf88 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
48bf88 |
|
|
|
48bf88 |
diff --git a/src/main.cpp b/src/main.cpp
|
|
|
48bf88 |
index 59b3219..1e71867 100644
|
|
|
48bf88 |
--- a/src/main.cpp
|
|
|
48bf88 |
+++ b/src/main.cpp
|
|
|
48bf88 |
@@ -196,7 +196,7 @@ void startUp (int argc, char *argv[]) {
|
|
|
48bf88 |
#ifdef _WIN32
|
|
|
48bf88 |
firstPath = new Path(firstPath, createString(getenv("HOME"), "\\"));
|
|
|
48bf88 |
#else
|
|
|
48bf88 |
- firstPath = new Path(firstPath, createString(getenv("HOME"), "/."));
|
|
|
48bf88 |
+ firstPath = new Path(firstPath, createString(getenv("HOME"), "/.openjazz/"));
|
|
|
48bf88 |
#endif
|
|
|
48bf88 |
#endif
|
|
|
48bf88 |
|