File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import com.here.ort.model.Environment
28
28
import com.here.ort.model.config.OrtConfiguration
29
29
import com.here.ort.utils.PARAMETER_ORDER_LOGGING
30
30
import com.here.ort.utils.PARAMETER_ORDER_OPTIONAL
31
+ import com.here.ort.utils.getUserOrtDirectory
31
32
import com.here.ort.utils.expandTilde
32
33
import com.here.ort.utils.printStackTrace
33
34
@@ -168,7 +169,9 @@ object OrtMain : CommandWithHelp() {
168
169
169
170
private fun showVersionHeader (commandName : String? ) {
170
171
val env = Environment ()
171
- val variables = env.variables.entries.map { (key, value) -> " $key = $value " }
172
+
173
+ val variables = mutableListOf (" $ORT_USER_HOME_ENV = ${getUserOrtDirectory()} " )
174
+ env.variables.entries.mapTo(variables) { (key, value) -> " $key = $value " }
172
175
173
176
val command = commandName?.let { " '$commandName '" }.orEmpty()
174
177
val with = if (variables.isNotEmpty()) " with" else " ."
You can’t perform that action at this time.
0 commit comments