Commit ceeca0a6 authored by 黎博's avatar 黎博

build_go add sudo

parent 30b7562a
...@@ -617,7 +617,7 @@ def build_luaui( systemName, branchName,contextDir) { ...@@ -617,7 +617,7 @@ def build_luaui( systemName, branchName,contextDir) {
def build_go(systemName, branchName, contextDir) { def build_go(systemName, branchName, contextDir) {
def projectAttr = project_attr(systemName) def projectAttr = project_attr(systemName)
buildCmd = projectAttr["build_command"] buildCmd = projectAttr["build_command"]
sh buildCmd sh "sudo ${buildCmd}"
sh "cp systemName ${contextDir}/main" sh "cp systemName ${contextDir}/main"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment