Bug#637961: Typo in /etc/init.d/jetty -- grep: character class syntax is [[:space:]], not [:space:]
Isaac
close.button at gmail.com
Tue Aug 16 01:13:59 UTC 2011
Package: jetty
Version: 6.1.24-6
Severity: normal
I received this error when calling e.g. `service restart jetty`:
grep: character class syntax is [[:space:]], not [:space:]
I replaced this line in /etc/init.d/jetty:
CONFIG_LINES=$(cat /etc/jetty/jetty.conf | grep -v "^[:space:]*#" | tr
"\n" " ")
with this one:
CONFIG_LINES=$(cat /etc/jetty/jetty.conf | grep -v "^[[:space:]]*#" | tr
"\n" " ")
which seemed to resolve the issue.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages jetty depends on:
ii adduser 3.113 add and remove users and groups
ii apache2-utils 2.2.19-1 utility programs for webservers
ii default-jre-headless [jav 1:1.6-40 Standard Java or Java
compatible R
ii jsvc 1.0.6-1 wrapper to launch Java
application
ii libjetty-java 6.1.24-6 Java servlet engine and
webserver
ii openjdk-6-jre-headless [j 6b18-1.8.9-0.1 OpenJDK Java runtime, using
Hotspo
jetty recommends no packages.
Versions of packages jetty suggests:
pn libjetty-extra <none> (no description available)
pn libjetty-extra-java <none> (no description available)
pn libjetty-java-doc <none> (no description available)
More information about the pkg-java-maintainers
mailing list