Pass first name in list when generating the pc file

This commit is contained in:
Mitch Watrous committed 2011-09-21 09:32:06 -07:00
1 parent ac3776ae03
commit 48095f0d95
1 file changed
+1 -1
+1 -1
View File
@@ -402,7 +402,7 @@ Requires: %s
def run(self):
output_filename = self.outputs[0].abspath()
self._generate_pcfile(self.module.name,
self._generate_pcfile(self.module.name[0],
self.module.to_list(self.module.use),
self.env, output_filename)