Skip to content

Commit e9f18d4

Browse files
committed
proper quoting?
1 parent 584b32c commit e9f18d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tomcat/catalina_base/bin/setenv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if [ -z "$JPDA_ADDRESS" ] ; then
9595
if [ "$JAVA_MAJOR" -gt 8 ] ; then
9696
export JPDA_ADDRESS=8000
9797
else
98-
export JPDA_ADDRESS=*:8000
98+
export JPDA_ADDRESS="*:8000"
9999
fi
100100
fi
101101
if [ -z "$JPDA_TRANSPORT" ] ; then

tomcat/catalina_base/bin/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ start() {
4848
# TODO this is only tested with 'run', not with 'start'. If that would be a use case?
4949
ARGS=$([ "$CATALINA_ARGS" == "" ] && echo "jpda run" || echo "$CATALINA_ARGS")
5050
echo "$(gdate) Effective catalina arguments: '${ARGS}'" >> ${APPLICATION_OUT}
51-
${CATALINA_SH} ${ARGS} | (echo $! > ${CATALINA_PID}; /usr/bin/rotatelogs -L ${APPLICATION_OUT} -f ${APPLICATION_OUT}.%Y-%m-%d 86400) &
51+
${CATALINA_SH} "${ARGS}" | (echo $! > ${CATALINA_PID}; /usr/bin/rotatelogs -L ${APPLICATION_OUT} -f ${APPLICATION_OUT}.%Y-%m-%d 86400) &
5252

5353
# Tail everything to stdout, so it will be picked up by kibana
5454
tail -F "${APPLICATION_OUT}" --pid $$ 2>/dev/null & tailPid=$!

0 commit comments

Comments
 (0)