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