Skip to content

Commit

Permalink
downloadJbr should copy if jbr uses dash
Browse files Browse the repository at this point in the history
previously only jbr versions with an underscore were supported.
  • Loading branch information
HeikoBecker committed Dec 6, 2023
1 parent c3cb3cf commit 9994955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/de/itemis/mps/gradle/downloadJBR/Plugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ open class DownloadJbrProjectPlugin : Plugin<Project> {
workingDir = downloadDir
}

if (downloadDir.listFiles { _, name -> name.startsWith("jbr_") }!!.any()) {
if (downloadDir.listFiles { _, name -> name.startsWith("jbr_") || name.startsWith("jbr-") }!!.any()) {
exec {
commandLine("sh", "-c", "mv jbr_* jbr")
workingDir = downloadDir
Expand Down

0 comments on commit 9994955

Please sign in to comment.