summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello/expect.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceBox/hello/expect.py')
-rwxr-xr-xcpp/demo/IceBox/hello/expect.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/demo/IceBox/hello/expect.py b/cpp/demo/IceBox/hello/expect.py
index 061669fb69b..cab4482b754 100755
--- a/cpp/demo/IceBox/hello/expect.py
+++ b/cpp/demo/IceBox/hello/expect.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# **********************************************************************
#
-# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
+# Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
@@ -28,8 +28,7 @@ if Util.defaultHost:
else:
args = ''
-directory = os.path.dirname(os.path.abspath(__file__))
-Util.addLdPath(directory)
+Util.addLdPath(os.getcwd())
server = Util.spawn('%s --Ice.Config=config.icebox --Ice.PrintAdapterReady %s' % (Util.getIceBox(), args))
server.expect('.* ready')