Merge pull request #45579 from zaevi/add_scons_ext
add search extensions for Scons' path
This commit is contained in:
commit
74091a1974
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ android {
|
||||||
File sconsExecutableFile = null
|
File sconsExecutableFile = null
|
||||||
def sconsName = "scons"
|
def sconsName = "scons"
|
||||||
def sconsExts = (org.gradle.internal.os.OperatingSystem.current().isWindows()
|
def sconsExts = (org.gradle.internal.os.OperatingSystem.current().isWindows()
|
||||||
? [".bat", ".exe"]
|
? [".bat", ".cmd", ".ps1", ".exe"]
|
||||||
: [""])
|
: [""])
|
||||||
logger.lifecycle("Looking for $sconsName executable path")
|
logger.lifecycle("Looking for $sconsName executable path")
|
||||||
for (ext in sconsExts) {
|
for (ext in sconsExts) {
|
||||||
|
|
Loading…
Reference in a new issue