We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668d067 commit 567e4a4Copy full SHA for 567e4a4
1 file changed
setup-netlogo/action.yaml
@@ -437,6 +437,13 @@ runs:
437
's|for %%f in (\.\\\*\.jar) do (|for %%f in (%LIBRARY_DIR%\\*.jar) do (|' \
438
"${behaviorsearch_binary}"
439
440
+ # Enumerating from LIBRARY_DIR (above) makes %%f expand to
441
+ # each jar's full path already, so the LIBRARY_DIR\ prefix
442
+ # here would double up the path and break the classpath.
443
+ sed -i \
444
+ 's|set JARS=%LIBRARY_DIR%\\%%f;!JARS!|set JARS=%%f;!JARS!|' \
445
+ "${behaviorsearch_binary}"
446
+
447
echo "--- Patched behaviorsearch_headless.bat (relevant lines) ---"
448
grep -n -i \
449
-e "LIBRARY_DIR" \
0 commit comments