[klib] fix reading -target option
This commit is contained in:
committed by
Vasily Levchenko
parent
de524c38a3
commit
0f2c81f71a
@@ -167,7 +167,7 @@ fun libraryInRepoOrCurrentDir(repository: File, name: String): File {
|
||||
fun main(args: Array<String>) {
|
||||
val command = Command(args)
|
||||
|
||||
val targetManager = TargetManager(command.options["target"]?.last())
|
||||
val targetManager = TargetManager(command.options["-target"]?.last())
|
||||
val target = targetManager.targetName
|
||||
|
||||
val repository = command.options["-repository"]?.last()
|
||||
|
||||
Reference in New Issue
Block a user