SteamWar/BauSystem
Archiviert
13
0

Simplify shell in build.gradle

Dieser Commit ist enthalten in:
yoyosource 2021-04-12 09:23:42 +02:00
Ursprung dcd2b39e95
Commit cfa55c8471

Datei anzeigen

@ -116,13 +116,11 @@ def await(Process proc) {
} }
def shell(String command) { def shell(String command) {
def proc
if (operatingSystem == "unix") { if (operatingSystem == "unix") {
proc = ['bash', '-c', command].execute() return ['bash', '-c', command].execute()
} else { } else {
proc = ["cmd", "/c", command].execute() return ["cmd", "/c", command].execute()
} }
return proc
} }
def serverStart(String serverName) { def serverStart(String serverName) {