summaryrefslogtreecommitdiff
path: root/py/test/Ice/operations/Client.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-01-31 12:23:54 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-01-31 12:23:54 +0100
commit320c412028b96dcedbc82baa16c0aebd2d9e51c9 (patch)
tree9f7d0e869993cbee311ebf6be2e31993c1f79da2 /py/test/Ice/operations/Client.py
parentbug 2282 - generic evictor demo (diff)
downloadice-320c412028b96dcedbc82baa16c0aebd2d9e51c9.tar.bz2
ice-320c412028b96dcedbc82baa16c0aebd2d9e51c9.tar.xz
ice-320c412028b96dcedbc82baa16c0aebd2d9e51c9.zip
More ICE_HOME fixes
Diffstat (limited to 'py/test/Ice/operations/Client.py')
-rw-r--r--py/test/Ice/operations/Client.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/py/test/Ice/operations/Client.py b/py/test/Ice/operations/Client.py
index 28dd36836bf..fc5195e3dc3 100644
--- a/py/test/Ice/operations/Client.py
+++ b/py/test/Ice/operations/Client.py
@@ -25,11 +25,9 @@ sys.path.insert(0, os.path.join(toplevel, "lib"))
#
slice_dir = os.path.join(os.path.join(toplevel, "..", "slice"))
if not os.path.exists(slice_dir):
- home_dir = os.getenv('ICEPY_HOME', '')
+ home_dir = os.getenv('ICE_HOME', '')
if len(home_dir) == 0 or not os.path.exists(os.path.join(home_dir, "slice")):
- home_dir = os.getenv('ICE_HOME', '')
- if len(home_dir) == 0 or not os.path.exists(os.path.join(home_dir, "slice")):
- print sys.argv[0] + ': Slice directory not found. Define ICEPY_HOME or ICE_HOME.'
+ print sys.argv[0] + ': Slice directory not found. Define ICE_HOME.'
sys.exit(1)
slice_dir = os.path.join(home_dir, "slice")