Skip to content

Commit

Permalink
Fix Git not finishing fast enough in build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunstrike committed Nov 30, 2013
1 parent 587ba53 commit f3b31b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Expand Up @@ -57,6 +57,7 @@ minecraft {
task buildInfo {
def cmd = "git rev-parse --short HEAD"
def proc = cmd.execute()
proc.waitFor()
if (proc.exitValue() == 0) {
ext.revision = proc.text.trim()
} else {
Expand Down

0 comments on commit f3b31b7

Please sign in to comment.