From 8db1bca3a0c463d24fa56707e6e31233b9c861dd Mon Sep 17 00:00:00 2001 From: Ralf Pannemans Date: Mon, 18 Sep 2023 09:23:41 +0200 Subject: [PATCH] Update tomcat/base.go Co-authored-by: Anthony Dahanne --- tomcat/base.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tomcat/base.go b/tomcat/base.go index f9062fb..f105f99 100644 --- a/tomcat/base.go +++ b/tomcat/base.go @@ -336,6 +336,8 @@ func (b Base) ContributeLogging(layer libcnb.Layer) error { if ok { b.Logger.Bodyf("found BPI_TOMCAT_ADDITIONAL_JARS %q", additionalJars) s = fmt.Sprintf(`CLASSPATH="%s:%s"`, file, additionalJars) + } else { + s := fmt.Sprintf(`CLASSPATH="%s"`, file) } file = filepath.Join(layer.Path, "bin", "setenv.sh")