diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-12-23 12:52:56 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-12-23 12:52:56 +0100 |
commit | 652d3f9252d66b6cfb8c7f8e15c38a048a3a25bc (patch) | |
tree | f389673ccf7f03ab59462ea5fa558dd98cf2eae8 /cpp/demo/IceGrid/secure/makecerts.py | |
parent | More edits for release notes (diff) | |
download | ice-652d3f9252d66b6cfb8c7f8e15c38a048a3a25bc.tar.bz2 ice-652d3f9252d66b6cfb8c7f8e15c38a048a3a25bc.tar.xz ice-652d3f9252d66b6cfb8c7f8e15c38a048a3a25bc.zip |
Fixed bug 4537 - IceGrid/secure demoscript failure
Diffstat (limited to 'cpp/demo/IceGrid/secure/makecerts.py')
-rwxr-xr-x | cpp/demo/IceGrid/secure/makecerts.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cpp/demo/IceGrid/secure/makecerts.py b/cpp/demo/IceGrid/secure/makecerts.py index d7d969a8f94..14c1749b84b 100755 --- a/cpp/demo/IceGrid/secure/makecerts.py +++ b/cpp/demo/IceGrid/secure/makecerts.py @@ -10,11 +10,9 @@ import os, sys, shutil, glob -iceca = "iceca" - def runIceca(args): os.environ['PYTHONUNBUFFERED'] = '1' - command = 'python "%s" %s' % (iceca, args) + command = 'iceca %s' % args if os.system(command): sys.exit(1) @@ -29,12 +27,7 @@ def createCertificate(filename, cn): print print -for x in sys.argv[1:]: - if x[0:7] == "--iceca": - iceca = x[8:] - cwd = os.getcwd() - if not os.path.exists("certs") or os.path.basename(cwd) != "secure": print "You must run this script from the secure demo directory" sys.exit(1) |