spacewalk/setup/share/tomcatX.conf.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 2f25ae8bd221204751ce5b9a4e08641c34fdf6d5 Author: Jan Pazdziora jpazdziora@redhat.com Date: Mon May 16 13:50:33 2011 +0200
We only want to source the setenv.sh if it exists.
Addressing /etc/tomcat6/tomcat6.conf: line 58: /usr/share/tomcat6/bin/setenv.sh: No such file or directory
diff --git a/spacewalk/setup/share/tomcatX.conf.3 b/spacewalk/setup/share/tomcatX.conf.3 index 6269ee7..aba1bdf 100644 --- a/spacewalk/setup/share/tomcatX.conf.3 +++ b/spacewalk/setup/share/tomcatX.conf.3 @@ -1,2 +1,2 @@ ^_HACK_AROUND_PARSEOPTIONS=1.+setenv.sh\n -_HACK_AROUND_PARSEOPTIONS=1 ; . $CATALINA_HOME/bin/setenv.sh +_HACK_AROUND_PARSEOPTIONS=1 ; test -f $CATALINA_HOME/bin/setenv.sh && . $CATALINA_HOME/bin/setenv.sh
spacewalk-commits@lists.fedorahosted.org