This commit is contained in:
Kovid Goyal 2012-03-29 09:49:04 +05:30
parent 3aaf5fb857
commit d302c3d149

View File

@ -243,7 +243,7 @@ class PostInstall:
os.makedirs(os.path.dirname(f)) os.makedirs(os.path.dirname(f))
self.manifest.append(f) self.manifest.append(f)
complete = 'calibre-complete' complete = 'calibre-complete'
if getattr(sys, 'frozen_path'): if getattr(sys, 'frozen_path', None):
complete = os.path.join(getattr(sys, 'frozen_path'), complete) complete = os.path.join(getattr(sys, 'frozen_path'), complete)
self.info('Installing bash completion to', f) self.info('Installing bash completion to', f)