Browse Source

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

zhangkun83 10 năm trước cách đây
mục cha
commit
cd4e9e72fb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      protoc-artifacts/build.gradle

+ 1 - 1
protoc-artifacts/build.gradle

@@ -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) {