Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Commit f5d19be

Browse files
committed
Support for a different java home directory.
1 parent 93766a3 commit f5d19be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/profile.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
RDECK_BASE=<%= @rdeck_base %>
22
export RDECK_BASE
33

4+
<% if @java_home %>
5+
export JAVA_HOME=<%= @java_home %>
6+
<% end %>
7+
48
JAVA_CMD=java
59

610
if [ ! -z $JAVA_HOME ]; then

0 commit comments

Comments
 (0)