summaryrefslogtreecommitdiff
path: root/py/demo/Ice/bidir/Server.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-08-16 09:53:38 -0230
committerDwayne Boone <dwayne@zeroc.com>2007-08-16 09:53:38 -0230
commiteae03000d1ad739021f4b3816faf8eb250ee455e (patch)
tree4fd73b95c27ef8499c3b35b2bdf4205cd077df2d /py/demo/Ice/bidir/Server.py
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-eae03000d1ad739021f4b3816faf8eb250ee455e.tar.bz2
ice-eae03000d1ad739021f4b3816faf8eb250ee455e.tar.xz
ice-eae03000d1ad739021f4b3816faf8eb250ee455e.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2394
Diffstat (limited to 'py/demo/Ice/bidir/Server.py')
-rw-r--r--py/demo/Ice/bidir/Server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/demo/Ice/bidir/Server.py b/py/demo/Ice/bidir/Server.py
index 1f7351436c7..82a2c159948 100644
--- a/py/demo/Ice/bidir/Server.py
+++ b/py/demo/Ice/bidir/Server.py
@@ -16,6 +16,8 @@ if len(slice_dir) == 0 or not os.path.exists(os.path.join(slice_dir, 'slice')):
if len(slice_dir) == 0 or not os.path.exists(os.path.join(slice_dir, 'slice')):
slice_dir = os.path.join('/', 'usr', 'share', 'Ice-3.2.0')
if not os.path.exists(os.path.join(slice_dir, 'slice')):
+ slice_dir = os.path.join('/', 'opt', 'Ice-3.2.0')
+if not os.path.exists(os.path.join(slice_dir, 'slice')):
print sys.argv[0] + ': Slice directory not found. Define ICEPY_HOME or ICE_HOME.'
sys.exit(1)