summaryrefslogtreecommitdiff
path: root/cpp/demo/IceGrid/secure/expect.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/IceGrid/secure/expect.py')
-rwxr-xr-xcpp/demo/IceGrid/secure/expect.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/cpp/demo/IceGrid/secure/expect.py b/cpp/demo/IceGrid/secure/expect.py
index 7c0426f45f6..c643599226e 100755
--- a/cpp/demo/IceGrid/secure/expect.py
+++ b/cpp/demo/IceGrid/secure/expect.py
@@ -34,19 +34,9 @@ if Util.defaultHost:
else:
args = ''
-icecaPath = ""
-if os.environ.get("ICE_HOME", "") != "":
- icecaPath = os.environ["ICE_HOME"]
-elif os.path.isdir(os.path.join(path[0], "cpp")):
- icecaPath = os.path.join(path[0], "cpp")
-
-command = 'python -u makecerts.py'
-if icecaPath != "":
- command += ' --iceca="%s"' % os.path.join(icecaPath, "bin", "iceca")
-
print "creating certificates...",
sys.stdout.flush()
-makecerts = Util.spawn(command)
+makecerts = Util.spawn("python -u makecerts.py")
makecerts.expect("Do you want to keep this as the CA subject name?")
makecerts.sendline("y")
makecerts.expect("Enter the email address of the CA:")