Skip to content

Commit

Permalink
423397 - Jetty server does not run on Linux server startup because of
Browse files Browse the repository at this point in the history
 a bug in jetty.sh script.

Fixed by using the "*" instead of "+" for numbers so that sed does not
complain and it's also non-GNU compliant.
  • Loading branch information
sbordet committed Dec 10, 2013
1 parent 3eb959a commit 7a235e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jetty-distribution/src/main/resources/bin/jetty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Set the name which is used by other variables.
# Defaults to the file name without extension.
##################################################
NAME=$(echo $(basename $0) | sed -e 's/^[SK][0-9]+//' -e 's/\.sh$//')
NAME=$(echo $(basename $0) | sed -e 's/^[SK][0-9]*//' -e 's/\.sh$//')

# To get the service to restart correctly on reboot, uncomment below (3 lines):
# ========================
Expand Down

0 comments on commit 7a235e6

Please sign in to comment.