From e920ae8105c365f02a8691234965134d1eb32341 Mon Sep 17 00:00:00 2001 From: Kevin Ortega Date: Mon, 24 Apr 2023 10:53:19 -0400 Subject: [PATCH] Update liberty.rb --- lib/liberty_buildpack/container/liberty.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/liberty_buildpack/container/liberty.rb b/lib/liberty_buildpack/container/liberty.rb index 569ab788..54d92177 100644 --- a/lib/liberty_buildpack/container/liberty.rb +++ b/lib/liberty_buildpack/container/liberty.rb @@ -122,7 +122,7 @@ def release java_home_string = ContainerUtils.space("JAVA_HOME=\"$PWD/#{@java_home}\"") wlp_user_dir_string = ContainerUtils.space('WLP_USER_DIR="$PWD/wlp/usr"') server_script_string = ContainerUtils.space("exec #{File.join(LIBERTY_HOME, 'bin', 'server')}") - path_string = ContainerUtils.space('PATH=\"$PWD/.ruby/bin:$PATH\"') << ' &&' + path_string = ContainerUtils.space('PATH=$PWD/.ruby/bin:$PATH') << ' &&' if File.exist?('/tmp/ruby') start_command = "#{path_string}#{create_vars_string}#{create_jdk_memory_string}#{skip_maxpermsize_string}#{java_home_string}#{wlp_user_dir_string}#{server_script_string} run #{server_name}"