diff options
Diffstat (limited to 'lorry')
-rwxr-xr-x | lorry | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -28,6 +28,8 @@ import traceback __version__ = '0.0' +lorry_path = os.path.realpath(__file__) + def quote_url(url): ''' Convert URIs to strings that only contain digits, letters, % and _. @@ -426,7 +428,7 @@ class Lorry(cliapp.Application): return if not os.path.exists(gitdir): self.run_program(['git', 'init', '--bare', gitdir]) - cmdline = ["%s.tar-importer" % __file__, tardest] + cmdline = ["%s.tar-importer" % lorry_path, tardest] self.run_program(cmdline, cwd=gitdir) self.needs_aggressive = True |