[jetty9] 03/99: jetty.init: Fix character class syntax
Jakub Adam
xhaakon-guest at moszumanska.debian.org
Fri Oct 9 21:20:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
xhaakon-guest pushed a commit to branch master
in repository jetty9.
commit 44cd62d3afcccc8d81ae623b03497db2a7c9fb1d
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date: Sat Mar 3 14:52:59 2012 +0100
jetty.init: Fix character class syntax
Fixes following error when starting jetty:
grep: character class syntax is [[:space:]], not [:space:]
---
debian/jetty.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/jetty.init b/debian/jetty.init
index 872341c..b304549 100644
--- a/debian/jetty.init
+++ b/debian/jetty.init
@@ -209,7 +209,7 @@ if [ -z "$JAVA_HOME" ]; then
exit 0
fi
-CONFIG_LINES=$(cat /etc/jetty/jetty.conf | grep -v "^[:space:]*#" | tr "\n" " ")
+CONFIG_LINES=$(cat /etc/jetty/jetty.conf | grep -v "^[[:space:]]*#" | tr "\n" " ")
##################################################
# Get the list of config.xml files from jetty.conf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jetty9.git
More information about the pkg-java-commits
mailing list