SteamWar/BauSystem
Archiviert
13
0

gradle #252

Manuell gemergt
SteamWar hat 35 Commits von gradle nach master 2021-05-22 21:04:38 +02:00 zusammengeführt
Nur Änderungen aus Commit 0e080648ab werden angezeigt - Alle Commits anzeigen

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