summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceBox')
-rwxr-xr-xcpp/demo/IceBox/hello/expect.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/demo/IceBox/hello/expect.py b/cpp/demo/IceBox/hello/expect.py
index 061669fb69b..c659b7f87af 100755
--- a/cpp/demo/IceBox/hello/expect.py
+++ b/cpp/demo/IceBox/hello/expect.py
@@ -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')