From 86c67013409254cbdd24de537cd4bb71506973de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 7 May 2018 19:56:50 +0200 Subject: [PATCH] use sh explicitly --- android/app/build.gradle | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c5446f05bc..60597b9bdd 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -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()