Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 38 lines 1.4 kB view raw
1--- javacup/build.xml.orig 2016-06-15 07:10:15.000000000 -0300 2+++ javacup/build.xml 2016-07-17 08:46:46.632722844 -0300 3@@ -21,26 +21,6 @@ 4 <mkdir dir="${dist}" /> 5 <loadfile property="cupversion" srcFile="version.txt" failonerror="false" /> 6 <property name="cupversion" value="custombuild" unless:set="cupversion"/> 7- <exec executable="git" outputproperty="gitversion"> 8- <arg value="log"/> 9- <arg value="-1"/> 10- <arg value="--format=%h"/> 11- </exec> 12- <exec executable="git" outputproperty="changed"> 13- <arg value="status"/> 14- <arg value="--porcelain"/> 15- <redirector> 16- <outputfilterchain> 17- <linecontainsregexp> 18- <regexp pattern='^M.*'/> 19- </linecontainsregexp> 20- <tokenfilter> 21- <replaceregex pattern=".*" replace="modifications based on "/> 22- </tokenfilter> 23- </outputfilterchain> 24- </redirector> 25- </exec> 26- <property name="svnversion">${changed}${gitversion}</property> 27 </target> 28 29 <property environment="env" /> 30@@ -79,7 +59,7 @@ 31 <copy todir="${java}"><fileset dir="${src}"></fileset></copy> 32 <replace file="${java}/java_cup/version.java" 33 token="+ version_str" 34- value='+ "v0.11b ${cupversion} (GIT ${svnversion})"'> 35+ value='+ "v0.11b ${cupversion}"'> 36 </replace> 37 <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.8" target="1.8"> 38 <classpath refid="libraries"/>