--- a/make/build.xml
+++ b/make/build.xml
@@ -70,14 +70,6 @@
     <property name="gluegen.build.number" value="manual"/>
     <property name="gluegen.build.id"     value="${version.timestamp}"/>
     <mkdir dir="${build}" />
-    <exec dir="." executable="git" logError="true" failonerror="false" failifexecutionfails="false"
-              output="${build}/localbranch.raw">
-        <arg line="branch --no-color"/>
-    </exec>
-    <exec dir="." executable="sed" logError="true" failonerror="false" failifexecutionfails="false"
-              outputproperty="gluegen.build.branch">
-        <arg line="-e '/^[^*]/d' -e 's/* \(.*\)/\1/' '${build}/localbranch.raw'"/>
-    </exec>
     <property name="gluegen.build.branch" value="manual"/> <!-- fallback -->
     <exec dir="${project.root}" executable="git" logError="true" failonerror="false" failifexecutionfails="false"
               outputproperty="gluegen.build.commit">
