gradle #252
@ -44,9 +44,9 @@ ext {
|
|||||||
libs = "${buildDir}/libs"
|
libs = "${buildDir}/libs"
|
||||||
|
|
||||||
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
||||||
operatinSystem = "windows"
|
operatingSystem = "windows"
|
||||||
} else {
|
} else {
|
||||||
operatinSystem = "unix"
|
operatingSystem = "unix"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ if (project.hasProperty("hostname")) {
|
|||||||
*/
|
*/
|
||||||
def shell(String command) {
|
def shell(String command) {
|
||||||
def proc
|
def proc
|
||||||
if (operatinSystem == "unix") {
|
if (operatingSystem == "unix") {
|
||||||
proc = ['bash', '-c', command].execute()
|
proc = ['bash', '-c', command].execute()
|
||||||
} else {
|
} else {
|
||||||
proc = ["cmd", "/c", command].execute()
|
proc = ["cmd", "/c", command].execute()
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren