LUCENE-10259: Fix startup scripts to allow whitespace in path names#472
Conversation
…otherwise won't start on windows if for example extracted to Windows Desktop or "Program Files"
|
Can we fix scripts header while we are here. |
|
I will check syntax and maybe move to /bin/sh. I am not sure about the |
|
@rmuir the bourne shell does not support |
|
Hi i committed a fix which now uses backticks only. It's 2 lines instead of 1 now. Can anybody check this again with Mac or do i need to start a shell? Maybe @rmuir can check on his BSD box. |
|
luke.sh works for me on Fedora 34. I will run it on macOS 11 |
|
When testing, make sure to extract lucene to a directory with whitespace (often a quick "mv"works and revert after testing). |
This works for me on Fedora 34 and macOS 11. |
see https://issues.apache.org/jira/browse/LUCENE-10259