git://git.nikiroo.be
/
fanfix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a18ba53
)
Do not reset config by default, fix woopsie
author
Niki Roo
<niki@nikiroo.be>
Sun, 10 Dec 2017 17:13:58 +0000
(18:13 +0100)
committer
Niki Roo
<niki@nikiroo.be>
Sun, 10 Dec 2017 17:13:58 +0000
(18:13 +0100)
src/be/nikiroo/fanfix/Instance.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix/Instance.java
b/src/be/nikiroo/fanfix/Instance.java
index c265861aefb3f2b8c3e7e324c216ded7cad1682d..ed22f6217b13fd57bb28953f188c59f98f2321a4 100644
(file)
--- a/
src/be/nikiroo/fanfix/Instance.java
+++ b/
src/be/nikiroo/fanfix/Instance.java
@@
-47,7
+47,7
@@
public class Instance {
}
// Most of the rest is dependent upon this:
}
// Most of the rest is dependent upon this:
- createConfigs(configDir,
tru
e);
+ createConfigs(configDir,
fals
e);
// update tracer:
boolean debug = Instance.getConfig()
// update tracer:
boolean debug = Instance.getConfig()
@@
-336,7
+336,7
@@
public class Instance {
* @param configDir
* the directory where to find the configuration files
* @param refresh
* @param configDir
* the directory where to find the configuration files
* @param refresh
- * TRUE to re
fresh
the configuration files from the default
+ * TRUE to re
set
the configuration files from the default
* included ones
*/
private static void createConfigs(String configDir, boolean refresh) {
* included ones
*/
private static void createConfigs(String configDir, boolean refresh) {
@@
-390,7
+390,7
@@
public class Instance {
if (remoteLib == null || remoteLib.trim().isEmpty()) {
String libDir = System.getProperty("fanfix.libdir");
if (libDir == null || libDir.isEmpty()) {
if (remoteLib == null || remoteLib.trim().isEmpty()) {
String libDir = System.getProperty("fanfix.libdir");
if (libDir == null || libDir.isEmpty()) {
- config.getString(Config.LIBRARY_DIR);
+
libDir =
config.getString(Config.LIBRARY_DIR);
}
try {
lib = new LocalLibrary(getFile(libDir));
}
try {
lib = new LocalLibrary(getFile(libDir));