mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 10:16:01 +00:00
use sh explicitly
This commit is contained in:
parent
1b25e1f3bf
commit
86c6701340
@ -97,10 +97,8 @@ def enableProguardInReleaseBuilds = false
|
||||
|
||||
def getVersionCode = { ->
|
||||
new ByteArrayOutputStream().withStream { stdOut ->
|
||||
println System.getProperty("user.dir")
|
||||
exec {
|
||||
workingDir "../"
|
||||
commandLine "./build_no.sh", "--tag"
|
||||
commandLine "sh", "../build_no.sh", "--tag"
|
||||
standardOutput = stdOut
|
||||
}
|
||||
return stdOut.toString().toInteger()
|
||||
|
Loading…
x
Reference in New Issue
Block a user