-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support BSD expr in startup script #11273
Labels
Comments
joakime
added a commit
that referenced
this issue
Jan 15, 2024
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime
moved this to 🏗 In progress
in Jetty 10.0.20 / 11.0.20 FROZEN (Post EOCD Release)
Jan 15, 2024
joakime
added a commit
that referenced
this issue
Jan 16, 2024
Issue #11273 - Add support for BSD based `expr` utility in `jetty.sh`
Done, will be available in next releases of Jetty 10.0.20 / 11.0.20 / 12.0.6 (due at end of month) |
github-project-automation
bot
moved this from 🏗 In progress
to ✅ Done
in Jetty 10.0.20 / 11.0.20 FROZEN (Post EOCD Release)
Jan 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version(s)
All supported versions.
Enhancement Description
When the startup script reads the config file to detect XML files, it uses the
expr
command to skip comment lines. The only non-comment entry in the default config file starts with a hyphen.expr
on Linux, macOS, and probably elsewhere, does not care.expr
on FreeBSD complains.Both implementations recognize the use of "--" to signal the end of the command line options so that subsequent arguments that begin with a hyphen are not treated as options. This works on Linux and BSD:
The text was updated successfully, but these errors were encountered: