Skip to content

Commit

Permalink
Update deps.py
Browse files Browse the repository at this point in the history
Another instance of `java_path` changed
  • Loading branch information
gpgekko authored and xael-fry committed Jan 30, 2015
1 parent d85d900 commit 0fa1b85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/pym/play/commands/deps.py
Expand Up @@ -57,11 +57,11 @@ def execute(**kargs):
elif not arg.startswith('-Xm'):
print "~ WARNING: " + arg + " argument will be skipped"

java_cmd = [app.java_path()] + add_options + args_memory + ['-classpath', app.fw_cp_args(), 'play.deps.DependenciesManager']
java_cmd = [java_path()] + add_options + args_memory + ['-classpath', app.fw_cp_args(), 'play.deps.DependenciesManager']
try:
return_code = subprocess.call(java_cmd, env=os.environ)
if 0 != return_code:
sys.exit(return_code);
except OSError:
print "Could not execute the java executable, please make sure the JAVA_HOME environment variable is set properly (the java executable should reside at JAVA_HOME/bin/java). "
sys.exit(-1)
sys.exit(-1)

0 comments on commit 0fa1b85

Please sign in to comment.