diff options
| author | Adrian Likins <alikins@redhat.com> | 2007-09-25 16:18:24 -0400 |
|---|---|---|
| committer | Adrian Likins <alikins@redhat.com> | 2007-09-25 16:18:24 -0400 |
| commit | 5f6c1e6fbad9ca39d795a81e64f571aa661f3c94 (patch) | |
| tree | 4632c44c87c9db4532e82413d519bfdaab37695d /scripts | |
| parent | 35d0caf698d3668f6411587796b1ab22af17179c (diff) | |
| parent | ef8aad0268ae9dc9efebd96714ca23e5a5369b49 (diff) | |
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/certmaster | 7 | ||||
| -rwxr-xr-x | scripts/func | 14 |
2 files changed, 15 insertions, 6 deletions
diff --git a/scripts/certmaster b/scripts/certmaster index 1be4c58..f4bcf53 100755 --- a/scripts/certmaster +++ b/scripts/certmaster @@ -1,11 +1,6 @@ #!/usr/bin/python -import sys -import distutils.sysconfig - -sys.path.append("%s/func" % distutils.sysconfig.get_python_lib()) - -import certmaster +from func import certmaster defaults = { 'listen_addr': 'localhost', 'listen_port': '51235', diff --git a/scripts/func b/scripts/func new file mode 100755 index 0000000..2afb4e7 --- /dev/null +++ b/scripts/func @@ -0,0 +1,14 @@ +#!/usr/bin/python + +import sys +import distutils.sysconfig + +# sys.path.append("%s/func" % distutils.sysconfig.get_python_lib()) + +import func.overlord.client as client + +myname, argv = sys.argv[0], sys.argv[1:] +cli = client.FuncCommandLine(myname, argv) +cli.run() + + |
