SteamWar/BauSystem
Archiviert
13
0

Hotfix build.gradle

Dieser Commit ist enthalten in:
yoyosource 2021-04-11 16:13:41 +02:00
Ursprung 5eb358f9d7
Commit 0e080648ab

Datei anzeigen

@ -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()