Use bash explicitly to run build-protoc.sh to make it work on Windows w/ MSYS

This commit is contained in:
zhangkun83 2015-03-30 18:01:07 -07:00
parent 645d7fbf36
commit cd4e9e72fb

View File

@ -29,7 +29,7 @@ signing {
def artifactFile = 'target/protoc.exe' as File
task buildProtoc(type: Exec) {
commandLine './build-protoc.sh'
commandLine 'bash', 'build-protoc.sh'
}
task prepareArtifact(type: Copy, dependsOn: buildProtoc) {