Commit 2720a64f authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Some www builds may return no build results

parent 88ad83ab
...@@ -614,13 +614,13 @@ rm /lib/systemd/system/build ...@@ -614,13 +614,13 @@ rm /lib/systemd/system/build
</target> </target>
<target name="return-www-build-results"> <target name="return-www-build-results">
<copy todir="${builddir}" failonerror="true"> <copy todir="${builddir}">
<fileset dir="${sysdir}/srv/www/build"> <fileset dir="${sysdir}/srv/www/build" erroronmissingdir="false">
<include name="**/*"/> <include name="**/*"/>
</fileset> </fileset>
</copy> </copy>
<delete dir="${sysdir}/srv/www/build"/> <delete dir="${sysdir}/srv/www/build"/>
<exec executable="bash" failonerror="true"> <exec executable="bash">
<arg line="-c 'find . -name &quot;*.xml&quot; -o -name &quot;*.html&quot; -type f -exec sed -e &quot;s|/srv/www|${builddir}|g&quot; -i {} +'"/> <arg line="-c 'find . -name &quot;*.xml&quot; -o -name &quot;*.html&quot; -type f -exec sed -e &quot;s|/srv/www|${builddir}|g&quot; -i {} +'"/>
</exec> </exec>
</target> </target>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment