Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Fixed #487: added MLCP_HOME/bin to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
grtjn committed Jan 28, 2016
1 parent 694e91c commit 0afdadc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions deploy/lib/server_config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1208,8 +1208,13 @@ def mlcp
logger.debug runme
logger.info ""

system runme

# PATH change only important for Windows, so always using ; and \
env_variables = {
"PATH" => "#{ENV['PATH']};#{mlcp_home}\\bin",
"HADOOP_HOME" => mlcp_home
}
system(env_variables, runme)

logger.info ""

ARGV.clear
Expand Down

0 comments on commit 0afdadc

Please sign in to comment.