|
|
@ -22,7 +22,7 @@ class ProcessEnvironment {
|
|
|
|
val newEnv = mutableMapOf<String, String>()
|
|
|
|
val newEnv = mutableMapOf<String, String>()
|
|
|
|
newEnv.putAll(env)
|
|
|
|
newEnv.putAll(env)
|
|
|
|
|
|
|
|
|
|
|
|
newEnv.filter { it.key.contains("ALFRED") }.forEach { env.remove(it.key) }
|
|
|
|
newEnv.filter { it.key.contains("ALFRED") }.forEach { newEnv.remove(it.key) }
|
|
|
|
newEnv.putAll(config.env)
|
|
|
|
newEnv.putAll(config.env)
|
|
|
|
newEnv["ALFRED_LOG_FILE"] = logFile.backingFile.absolutePath
|
|
|
|
newEnv["ALFRED_LOG_FILE"] = logFile.backingFile.absolutePath
|
|
|
|
newEnv["ALFRED_REV"] = rev ?: ""
|
|
|
|
newEnv["ALFRED_REV"] = rev ?: ""
|
|
|
|