Skip to content

Apache Lucene open-source search software

hack around bug-in-something causing link-checker to false-fail on windows by chdir'ing to the docs dir here

Robert Muir262de45645d9
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 5ed2fc48b8c..1d8d357c204 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1805,10 +1805,11 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
<macrodef name="check-broken-links">
<attribute name="dir"/>
+ <!-- TODO: somehow, the behavior of this script has CWD-funkiness but only on windows -->
<sequential>
- <exec dir="." executable="${python32.exe}" failonerror="true">
+ <exec dir="@{dir}" executable="${python32.exe}" failonerror="true">
<arg value="${dev-tools.dir}/scripts/checkJavadocLinks.py"/>
- <arg value="@{dir}"/>
+ <arg value="."/>
</exec>
</sequential>
</macrodef>