summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-04-11 14:59:48 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-04-11 15:00:53 +0200
commita56a606d540e2453c419687ced722020306952c7 (patch)
treea5fc96f713bcabc4f5021f8ae8a0647c05a82f88 /build.xml
parentb448f13d431a1a4e9d23c6acbf4bd15ccb647e3f (diff)
downloadscala-a56a606d540e2453c419687ced722020306952c7.tar.gz
scala-a56a606d540e2453c419687ced722020306952c7.tar.bz2
scala-a56a606d540e2453c419687ced722020306952c7.zip
fix for get-scala-commit-* on Windows (tested with Windows 7)
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 6f3e4a8d19..6a3bc1d4c7 100644
--- a/build.xml
+++ b/build.xml
@@ -283,7 +283,9 @@ INITIALISATION
</condition>
<exec osfamily="unix" executable="tools/get-scala-commit-sha" outputproperty="git.commit.sha" failifexecutionfails="false" />
+ <exec osfamily="windows" executable="tools/get-scala-commit-sha.bat" outputproperty="git.commit.sha" failifexecutionfails="false" />
<exec osfamily="unix" executable="tools/get-scala-commit-date" outputproperty="git.commit.date" failifexecutionfails="false" />
+ <exec osfamily="windows" executable="tools/get-scala-commit-date.bat" outputproperty="git.commit.date" failifexecutionfails="false" />
<!-- some default in case something went wrong getting the revision -->
<property name="git.commit.sha" value="unknown"/>
<property name="git.commit.date" value="unknown"/>