summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-09-17 14:34:55 +0200
committerJose <jose@zeroc.com>2013-09-17 14:34:55 +0200
commit195339f02a38cf0b8efd56bc6501085769bfa8d0 (patch)
tree88dad6e6cb98e950a1cb8baa888ab23f5b3c185c /demoscript/Util.py
parentFixed ICE-5433 - fixed test/Ice/properties/run.py to work with non-UTF8 locales (diff)
downloadice-195339f02a38cf0b8efd56bc6501085769bfa8d0.tar.bz2
ice-195339f02a38cf0b8efd56bc6501085769bfa8d0.tar.xz
ice-195339f02a38cf0b8efd56bc6501085769bfa8d0.zip
Fix JAVA_HOME setting in test and demo scripts
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index 7c70a39384c..b48b3410f92 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -17,7 +17,7 @@ import time
import subprocess
javaHome = os.environ.get("JAVA_HOME", "")
-javaCmd = os.path.join('"%s"' % javaHome, "bin", "java") if javaHome else "java"
+javaCmd = '"%s"' % os.path.join(javaHome, "bin", "java") if javaHome else "java"
# Locate the top level directory of the demo dist (or the top of the
# source tree for a source dist).