Skip to content

Commit

Permalink
Update liberty.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-ortega authored Apr 24, 2023
1 parent 56dd6dd commit e920ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/liberty_buildpack/container/liberty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit e920ae8

Please sign in to comment.