Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit 8bce5a16618b45d519d322da77e93b663e0c8c55

setup.py: fix --root support for D-Bus service files
setup.py
(1 / 1)
  
7474 def process_template(self, template_path, service_path):
7575 """Copy template_path to service_path, replacing format specifiers.
7676 """
77 variables = {'install_dir': self.install_dir, 'root': self.root}
77 variables = {'install_dir': self.install_dir[len(self.root):]}
7878 with file(service_path, 'w') as service_file:
7979 for line in file(template_path):
8080 service_file.write(line % variables)