fix git rev-parse
This commit is contained in:
parent
3a9d6b7024
commit
bf342bc9cf
|
@ -164,9 +164,10 @@
|
|||
</target>
|
||||
|
||||
<target name="git-revision" if="git.available">
|
||||
<exec executable="git-rev-parse" dir="."
|
||||
<exec executable="git" dir="."
|
||||
outputproperty="sigar.scmrev"
|
||||
failifexecutionfails="false">
|
||||
<arg value="rev-parse"/>
|
||||
<arg value="--short"/>
|
||||
<arg value="HEAD"/>
|
||||
</exec>
|
||||
|
|
Loading…
Reference in New Issue