From e3fdf8e6d28aebcbf23e98b14f1995882e83dfb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Wed, 31 Oct 2012 22:16:04 +0100 Subject: [PATCH] Fixing name of ponysay completion template --- completion/{template => ponysay} | 0 setup.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename completion/{template => ponysay} (100%) diff --git a/completion/template b/completion/ponysay similarity index 100% rename from completion/template rename to completion/ponysay diff --git a/setup.py b/setup.py index cde061b3..b71b069d 100755 --- a/setup.py +++ b/setup.py @@ -434,8 +434,8 @@ class Setup(): compress('ponysay.pdf', 'ponysay.pdf.' + ext, ext) for command in commands: - source = 'completion/template' - sourceed = 'completion/template.%s' % (command) + source = 'completion/ponysay' + sourceed = 'completion/ponysay.%s' % (command) try: fileout = open(sourceed, 'wb+') filein = open(source, 'rb') @@ -461,7 +461,7 @@ class Setup(): for shell in [item[0] for item in shells]: if conf[shell] is not None: for command in commands: - sourceed = 'completion/template.%s' % (command) + sourceed = 'completion/ponysay.%s' % (command) generated = 'completion/%s-completion.%s' % (shell, command) generatorcmd = './completion/auto-auto-complete.py %s --output %s --source %s' % (shell, generated, sourceed) Popen(generatorcmd.split(' ')).communicate()