From 1a362091b06eb3dba43ae5d572a52bef63947d9e Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Tue, 20 Oct 2015 04:06:27 -0700 Subject: [PATCH] Path problem. --- src/main/kotlin/com/beust/kobalt/maven/Gpg.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/maven/Gpg.kt b/src/main/kotlin/com/beust/kobalt/maven/Gpg.kt index cac3b10a..df740334 100644 --- a/src/main/kotlin/com/beust/kobalt/maven/Gpg.kt +++ b/src/main/kotlin/com/beust/kobalt/maven/Gpg.kt @@ -38,7 +38,7 @@ public class Gpg { if (gpg != null) { val directory = files.get(0).parentFile.absoluteFile files.forEach { file -> - val ascFile = File(directory, file.absolutePath + ".asc") + val ascFile = File(file.absolutePath + ".asc") ascFile.delete() val allArgs = arrayListOf() allArgs.add(gpg)