Skip to content

Launch scripts generated by Gradle require bash #305

@aalmiray

Description

@aalmiray

For now, scripts should force the usage of Bash

startScripts {
    doLast {
        unixScript.text = unixScript.text.replaceAll("#!/usr/bin/env sh", "#!/usr/bin/env bash")
    }
}

Fix suggested by Vincenzo Forchì @ gitter

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions