openbsd-ports/geo/josm/patches/patch-build_xml

34 lines
1.3 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-build_xml,v 1.2 2010/07/30 19:47:36 ian Exp $
--- build.xml.orig Wed Jul 28 06:27:21 2010
+++ build.xml Wed Jul 28 15:01:58 2010
@@ -42,14 +42,7 @@
-->
<target name="create-revision">
<property name="revision.dir" value="${build.dir}"/>
- <exec append="false" output="REVISION.XML" executable="svn" failifexecutionfails="false">
- <env key="LANG" value="C"/>
- <arg value="info"/>
- <arg value="--xml"/>
- <arg value="."/>
- </exec>
<xmlproperty file="REVISION.XML" prefix="version" keepRoot="false" collapseAttributes="true"/>
- <delete file="REVISION.XML" />
<tstamp>
<format property="build.tstamp" pattern="yyyy-MM-dd HH:mm:ss"/>
</tstamp>
@@ -67,14 +60,7 @@ Build-Date: ${build.tstamp}
<target name="dist" depends="compile,create-revision">
- <exec append="false" output="REVISION" executable="svn" failifexecutionfails="false">
- <env key="LANG" value="C"/>
- <arg value="info"/>
- <arg value="--xml"/>
- <arg value="."/>
- </exec>
<xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/>
- <delete file="REVISION"/>
<property name="version.entry.commit.revision" value="UNKNOWN"/>
<property name="version.entry.commit.date" value="UNKNOWN"/>
<echo>Revision ${version.entry.commit.revision}</echo>