fix git rev-parse

This commit is contained in:
Doug MacEachern 2009-02-06 15:52:06 -08:00
parent 3a9d6b7024
commit bf342bc9cf
1 changed files with 2 additions and 1 deletions

View File

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